Cereal cleanup (#20003)

* start cleanup

* fan speed

* cleanup dm

* fix cereal

* hwType -> pandaType

* update refs

* update refs

* bump cereal

* freeSpacePercent

* cereal master
This commit is contained in:
Adeeb Shihadeh
2021-02-03 19:57:30 -08:00
committed by GitHub
parent 61a4e3e661
commit 000bd226aa
51 changed files with 216 additions and 274 deletions
+1 -1
View File
@@ -163,7 +163,7 @@ int main(int argc, char* argv[]) {
}
// up one notch every 5 m/s
s->sound->setVolume(fmin(MAX_VOLUME, MIN_VOLUME + s->scene.controls_state.getVEgo() / 5));
s->sound->setVolume(fmin(MAX_VOLUME, MIN_VOLUME + s->scene.car_state.getVEgo() / 5));
// set brightness
float clipped_brightness = fmin(512, (s->light_sensor*brightness_m) + brightness_b);