mirror of
https://github.com/infiniteCable2/openpilot.git
synced 2026-09-09 17:53:41 +08:00
UI style improvements with improved keyboard (#2710)
* fix spaces and make spacebar dynamically sized * some spaces and a comment * more spaces * const Co-authored-by: Comma Device <device@comma.ai> old-commit-hash: 3e466aa528dfaf40063c209189bb3c9ece3bf26b
This commit is contained in:
@@ -134,7 +134,7 @@ int main(int argc, char* argv[]) {
|
||||
float brightness_b = 0, brightness_m = 0;
|
||||
int result = read_param(&brightness_b, "BRIGHTNESS_B", true);
|
||||
result += read_param(&brightness_m, "BRIGHTNESS_M", true);
|
||||
if(result != 0) {
|
||||
if (result != 0) {
|
||||
brightness_b = LEON ? 10.0 : 5.0;
|
||||
brightness_m = LEON ? 2.6 : 1.3;
|
||||
write_param_float(brightness_b, "BRIGHTNESS_B", true);
|
||||
|
||||
Reference in New Issue
Block a user