File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -784,11 +784,9 @@ struct sensor_device_info_s
784
784
785
785
uint32_t version ;
786
786
787
- /* Rough estimate of this sensor's power consumption in mA.
788
- * Divide the current data by 1000 to get the real data.
789
- */
787
+ /* Rough estimate of this sensor's power consumption in mA. */
790
788
791
- uint32_t power ;
789
+ float power ;
792
790
793
791
/* Maximum range of this sensor's value in SI units. */
794
792
@@ -806,7 +804,7 @@ struct sensor_device_info_s
806
804
* special : 0, unless otherwise noted
807
805
*/
808
806
809
- long min_delay ;
807
+ int32_t min_delay ;
810
808
811
809
/* This value is defined only for continuous mode and on-change sensors.
812
810
* it is the delay between two sensor events corresponding to the lowest
@@ -816,7 +814,7 @@ struct sensor_device_info_s
816
814
* applications to estimate when the batch FIFO may be full.
817
815
*/
818
816
819
- unsigned long max_delay ;
817
+ int32_t max_delay ;
820
818
821
819
/* Number of events reserved for this sensor in the batch mode FIFO.
822
820
* if there is a dedicated FIFO for this sensor, then this is the
You can’t perform that action at this time.
0 commit comments