File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -63,9 +63,9 @@ macro_rules! single_value_sensor {
63
63
} ;
64
64
}
65
65
66
- single_value_sensor ! ( AmbientLightSensor , AmbientLight , 6 ) ;
67
- single_value_sensor ! ( TemperatureSensor , Temperature , 10 ) ;
68
- single_value_sensor ! ( HumiditySensor , Humidity , 35 ) ;
66
+ single_value_sensor ! ( AmbientLightSensor , AmbientLight , 0x60002 ) ;
67
+ single_value_sensor ! ( TemperatureSensor , Temperature , 0x60000 ) ;
68
+ single_value_sensor ! ( HumiditySensor , Humidity , 0x60001 ) ;
69
69
70
70
impl fmt:: Display for AmbientLight {
71
71
fn fmt ( & self , f : & mut fmt:: Formatter ) -> Result < ( ) , fmt:: Error > {
Original file line number Diff line number Diff line change @@ -71,5 +71,5 @@ pub unsafe fn start_accel_reading() {
71
71
}
72
72
73
73
pub unsafe fn start_magnetometer_reading ( ) {
74
- syscalls:: command ( DRIVER_NUM , 1 , 0 , 0 ) ;
74
+ syscalls:: command ( DRIVER_NUM , 100 , 0 , 0 ) ;
75
75
}
You can’t perform that action at this time.
0 commit comments