mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-07-08 22:42:05 +08:00
ui/device: change last_brightness from float to int (#23029)
This commit is contained in:
+1
-1
@@ -192,7 +192,7 @@ private:
|
||||
int awake_timeout = 0;
|
||||
float accel_prev = 0;
|
||||
float gyro_prev = 0;
|
||||
float last_brightness = 0;
|
||||
int last_brightness = 0;
|
||||
FirstOrderFilter brightness_filter;
|
||||
|
||||
QTimer *timer;
|
||||
|
||||
Reference in New Issue
Block a user