Merge pull request #6209 from thinkyhead/rc_psu_zero
Power Supply 0 as "General"
This commit is contained in:
commit
3412950abc
1 changed files with 7 additions and 7 deletions
|
@ -2688,13 +2688,13 @@ void kill_screen(const char* lcd_msg) {
|
|||
STATIC_ITEM(BOARD_NAME, true, true); // MyPrinterController
|
||||
STATIC_ITEM(MSG_INFO_BAUDRATE ": " STRINGIFY(BAUDRATE), true); // Baud: 250000
|
||||
STATIC_ITEM(MSG_INFO_PROTOCOL ": " PROTOCOL_VERSION, true); // Protocol: 1.0
|
||||
#ifdef POWER_SUPPLY
|
||||
#if (POWER_SUPPLY == 1)
|
||||
STATIC_ITEM(MSG_INFO_PSU ": ATX", true); // Power Supply: ATX
|
||||
#elif (POWER_SUPPLY == 2)
|
||||
STATIC_ITEM(MSG_INFO_PSU ": XBox", true); // Power Supply: XBox
|
||||
#endif
|
||||
#endif // POWER_SUPPLY
|
||||
#if POWER_SUPPLY == 0
|
||||
STATIC_ITEM(MSG_INFO_PSU ": Generic", true);
|
||||
#elif POWER_SUPPLY == 1
|
||||
STATIC_ITEM(MSG_INFO_PSU ": ATX", true); // Power Supply: ATX
|
||||
#elif POWER_SUPPLY == 2
|
||||
STATIC_ITEM(MSG_INFO_PSU ": XBox", true); // Power Supply: XBox
|
||||
#endif
|
||||
END_SCREEN();
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue