Hello,
In one of my driver modules, I define a struct HW_Params_s. I would like to pass this in to my bind call through DEV.params. As ussual I am coming across my type checking issues.
var HWParams = new Driver.HW_Params_s;
var dev_Params = new DEV.Params();
dev_Params.devid = 0;
dev_Params.instance.name = DeviceName;
dev_Params.initFxn = Driver.DriverInit;
dev_Params.deviceParams = HWParams; <------- offending line
Program.global.mDevEth0 = DEV.create("/" + DeviceName, "&Driver_DriverFunctions", dev_Params);
Thanks!