mirror of
https://github.com/Ralim/IronOS.git
synced 2025-02-26 07:53:55 +00:00
remove hardcoded MODEL_TS80 (#393)
* remove hardcoded MODEL_TS80 * #define MODEL_TS100 in sw4stm32/atollic config * whitespace fix * use sum of 'defined' instead of logic * only print handle temp, not PCBVersion * whitespace fix
This commit is contained in:
committed by
Ben V. Brown
parent
ffeacca74d
commit
81e87c86d0
@@ -654,7 +654,7 @@ void showVersion(void) {
|
||||
OLED::setCursor(0, 0); // Position the cursor at the 0,0 (top left)
|
||||
OLED::setFont(1); // small font
|
||||
#ifdef MODEL_TS100
|
||||
OLED::print((char *)"V2.06 TS100"); // Print version number
|
||||
OLED::print((char *)"V2.06 TS100"); // Print version number
|
||||
#else
|
||||
OLED::print((char *) "V2.06 TS80"); // Print version number
|
||||
#endif
|
||||
@@ -690,6 +690,7 @@ void showVersion(void) {
|
||||
break;
|
||||
case 10:
|
||||
OLED::printNumber(getHandleTemperature(), 3);
|
||||
break;
|
||||
case 11:
|
||||
OLED::printNumber(PCBVersion, 1); // Print PCB ID number
|
||||
break;
|
||||
@@ -698,7 +699,7 @@ void showVersion(void) {
|
||||
OLED::printNumber(idealQCVoltage,3);
|
||||
#else
|
||||
OLED::print("Tek.com");
|
||||
#endif
|
||||
#endif
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user