Browse Source

Use MYSERIAL0 (not SerialUSB) for Malyan LCD

Scott Lahteine 4 years ago
parent
commit
10f7bbee32
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      Marlin/src/lcd/extui_malyan_lcd.cpp

+ 2
- 2
Marlin/src/lcd/extui_malyan_lcd.cpp View File

396
   // This is mildly different than stock, which
396
   // This is mildly different than stock, which
397
   // appears to use the usb discovery status.
397
   // appears to use the usb discovery status.
398
   // This is more logical.
398
   // This is more logical.
399
-  if (last_usb_connected_status != SerialUSB || forceUpdate) {
400
-    last_usb_connected_status = SerialUSB;
399
+  if (last_usb_connected_status != MYSERIAL0 || forceUpdate) {
400
+    last_usb_connected_status = MYSERIAL0;
401
     write_to_lcd_P(last_usb_connected_status ? PSTR("{R:UC}\r\n") : PSTR("{R:UD}\r\n"));
401
     write_to_lcd_P(last_usb_connected_status ? PSTR("{R:UC}\r\n") : PSTR("{R:UD}\r\n"));
402
   }
402
   }
403
 }
403
 }

Loading…
Cancel
Save