Mercurial > public > ostc4
diff Discovery/Src/tMenuHardware.c @ 138:cc9c18075e00 FlipDisplay
Removed no longer supported scooter code
author | Ideenmodellierer |
---|---|
date | Sat, 23 Feb 2019 21:10:51 +0100 |
parents | cc8e24374b83 |
children | 5e8ad1cd353f |
line wrap: on
line diff
--- a/Discovery/Src/tMenuHardware.c Tue Feb 19 21:48:32 2019 +0100 +++ b/Discovery/Src/tMenuHardware.c Sat Feb 23 21:10:51 2019 +0100 @@ -29,7 +29,6 @@ /* Includes ------------------------------------------------------------------*/ #include "tMenu.h" #include "tMenuHardware.h" -//#include "bonex4.h" //#define NEXTLINE(text, textPointer) {text[(textPointer)++] = '\n'; text[textPointer++] = '\r'; text[textPointer] = 0;} // NEXTLINE(text,textPointer); @@ -164,19 +163,6 @@ if((line == 0) || (line == 6)) { - if(getLicence() == LICENCEBONEX) - { - text[textPointer++] = TXT_2BYTE; - text[textPointer++] = TXT2BYTE_ScooterSetup; - text[textPointer++] = '\t'; - - // textPointer += snprintf(&text[textPointer],25,"D%i L%i ",settingsGetPointer()->scooterDrag, settingsGetPointer()->scooterLoad); - textPointer += snprintf(&text[textPointer],25,"D%i L%i %i\016\016 Wh\017",settingsGetPointer()->scooterDrag, settingsGetPointer()->scooterLoad, settingsGetPointer()->scooterBattSize); - // textPointer += bo4GetBatteryName(&text[textPointer], settingsGetPointer()->scooterBattType); - nextline(text,&textPointer); - } - else - { text[textPointer++] = TXT_2BYTE; text[textPointer++] = TXT2BYTE_FLIPDISPLAY; text[textPointer++] = '\t'; @@ -186,7 +172,6 @@ text[textPointer++] = '\006'; text[textPointer] = 0; nextline(text,&textPointer); - } } return StMHARD;