mirror of
https://github.com/MoreTore/openpilot.git
synced 2026-08-05 16:26:14 +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: 3e466aa528
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