Use MYSERIAL0 (not SerialUSB) for Malyan LCD
This commit is contained in:
parent
b49a0e39d5
commit
10f7bbee32
1 changed files with 2 additions and 2 deletions
|
@ -396,8 +396,8 @@ void update_usb_status(const bool forceUpdate) {
|
||||||
// This is mildly different than stock, which
|
// This is mildly different than stock, which
|
||||||
// appears to use the usb discovery status.
|
// appears to use the usb discovery status.
|
||||||
// This is more logical.
|
// This is more logical.
|
||||||
if (last_usb_connected_status != SerialUSB || forceUpdate) {
|
if (last_usb_connected_status != MYSERIAL0 || forceUpdate) {
|
||||||
last_usb_connected_status = SerialUSB;
|
last_usb_connected_status = MYSERIAL0;
|
||||||
write_to_lcd_P(last_usb_connected_status ? PSTR("{R:UC}\r\n") : PSTR("{R:UD}\r\n"));
|
write_to_lcd_P(last_usb_connected_status ? PSTR("{R:UC}\r\n") : PSTR("{R:UD}\r\n"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue