Browse Source

Serial refactor followup

vanilla_fb_2.0.x
Scott Lahteine 4 years ago
parent
commit
7bbdbcfb6d
  1. 2
      Marlin/src/sd/cardreader.h

2
Marlin/src/sd/cardreader.h

@ -174,7 +174,7 @@ public:
#if ENABLED(AUTO_REPORT_SD_STATUS)
static void auto_report_sd_status();
static inline void set_auto_report_interval(uint8_t v) {
TERN_(HAS_MULTI_SERIAL, auto_report_port = serialHook.portMask);
TERN_(HAS_MULTI_SERIAL, auto_report_port = multiSerial.portMask);
NOMORE(v, 60);
auto_report_sd_interval = v;
next_sd_report_ms = millis() + 1000UL * v;

Loading…
Cancel
Save