You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We want to modify the code for sensor reading, including:
The member init_args in struct sensor_cfg should only be used in the function DeviceName_init().
So we want to add a private data member that will be used in other functions such as DeviceName_read().
Add the header files for each sensor.
Changed ADC amplification calculation from arg0 and arg1 to post_sensor_read_hook and post_sensor_read_args.
Do you have any suggestions for this?
Thanks,
Yi-Shum
The text was updated successfully, but these errors were encountered:
Hi @DelphineChiu,
We want to modify the code for sensor reading, including:
So we want to add a private data member that will be used in other functions such as DeviceName_read().
Do you have any suggestions for this?
Thanks,
Yi-Shum
The text was updated successfully, but these errors were encountered: