Serial refactor followup
This commit is contained in:
parent
efa1e56369
commit
cc545a73a1
|
@ -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…
Reference in a new issue