ui/device: change last_brightness from float to int (#23029)

pull/23053/head
Dean Lee 2021-11-26 21:59:23 +08:00 committed by GitHub
parent ee4a1ee700
commit e376a621ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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;