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: 3e466aa528
This commit is contained in:
grekiki
2020-12-08 12:00:51 +01:00
committed by GitHub
parent 0b60b8eb1b
commit 2e07e45bed
13 changed files with 125 additions and 122 deletions
+1 -1
View File
@@ -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);