Power Supply 0 as "General"

This commit is contained in:
Tannoo 2017-04-02 00:33:41 -06:00 committed by Scott Lahteine
parent 883c6762c4
commit 54173c80ad

View File

@ -2696,13 +2696,13 @@ void kill_screen(const char* lcd_msg) {
STATIC_ITEM(BOARD_NAME, true, true); // MyPrinterController STATIC_ITEM(BOARD_NAME, true, true); // MyPrinterController
STATIC_ITEM(MSG_INFO_BAUDRATE ": " STRINGIFY(BAUDRATE), true); // Baud: 250000 STATIC_ITEM(MSG_INFO_BAUDRATE ": " STRINGIFY(BAUDRATE), true); // Baud: 250000
STATIC_ITEM(MSG_INFO_PROTOCOL ": " PROTOCOL_VERSION, true); // Protocol: 1.0 STATIC_ITEM(MSG_INFO_PROTOCOL ": " PROTOCOL_VERSION, true); // Protocol: 1.0
#ifdef POWER_SUPPLY #if POWER_SUPPLY == 0
#if (POWER_SUPPLY == 1) STATIC_ITEM(MSG_INFO_PSU ": Generic", true);
STATIC_ITEM(MSG_INFO_PSU ": ATX", true); // Power Supply: ATX #elif POWER_SUPPLY == 1
#elif (POWER_SUPPLY == 2) STATIC_ITEM(MSG_INFO_PSU ": ATX", true); // Power Supply: ATX
STATIC_ITEM(MSG_INFO_PSU ": XBox", true); // Power Supply: XBox #elif POWER_SUPPLY == 2
#endif STATIC_ITEM(MSG_INFO_PSU ": XBox", true); // Power Supply: XBox
#endif // POWER_SUPPLY #endif
END_SCREEN(); END_SCREEN();
} }