7 jul
Dependencies: BSP_DISCO_F469NIa EEPROM_DISCO_F469NI LCD_DISCO_F469NIa SD_DISCO_F469NI mbed
Fork of IntegrationCAN_7jul by
Diff: draw_print_library.cpp
- Revision:
- 4:0e8413277df8
- Parent:
- 2:f54f01527ebb
diff -r a06e417a5a2c -r 0e8413277df8 draw_print_library.cpp --- a/draw_print_library.cpp Thu Jul 05 20:18:32 2018 +0000 +++ b/draw_print_library.cpp Sat Jul 07 14:42:17 2018 +0000 @@ -414,8 +414,8 @@ }; -void BrakeSignal(int brake){ - if (brake){ +void BrakeSignal(uint16_t brake){ + if (brake!=0){ lcd.SetTextColor(LCD_COLOR_RED); lcd.SetBackColor(LCD_COLOR_RED); lcd.FillRect(560,340,230,68);