Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed LCD_DISCO_F469NIa SD_DISCO_F469NI BSP_DISCO_F469NIa EEPROM_DISCO_F469NI
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);