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

pull/23053/head
Dean Lee 4 years ago committed by GitHub
parent ee4a1ee700
commit e376a621ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      selfdrive/ui/ui.h

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

Loading…
Cancel
Save