![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
aa
Dependencies: mbed LCD_DISCO_F469NIa SD_DISCO_F469NI BSP_DISCO_F469NIa EEPROM_DISCO_F469NI
Diff: screen_library.cpp
- Revision:
- 5:4b63e6845a8e
- Parent:
- 4:0e8413277df8
- Child:
- 6:d6e001d7cf16
--- a/screen_library.cpp Sat Jul 07 14:42:17 2018 +0000 +++ b/screen_library.cpp Wed Nov 28 12:01:20 2018 +0000 @@ -138,7 +138,7 @@ break; }; if(Speed!=Speed0){ //Check is value is changed. If it is then update it on screen. - UpdateSpeedMeter(Speed0/10,(Speed-Speed0)/10); + UpdateSpeedMeter((int)(Speed0/10),(int)((Speed-Speed0)/10)); }; if(Gear!=Gear0){ PrintChar(Gears[Gear],GearXPos,GearYPos,LCD_COLOR_BLACK);