Serial refactor followup
This commit is contained in:
parent
3f01b222b2
commit
7bbdbcfb6d
|
@ -174,7 +174,7 @@ public:
|
||||||
#if ENABLED(AUTO_REPORT_SD_STATUS)
|
#if ENABLED(AUTO_REPORT_SD_STATUS)
|
||||||
static void auto_report_sd_status();
|
static void auto_report_sd_status();
|
||||||
static inline void set_auto_report_interval(uint8_t v) {
|
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);
|
NOMORE(v, 60);
|
||||||
auto_report_sd_interval = v;
|
auto_report_sd_interval = v;
|
||||||
next_sd_report_ms = millis() + 1000UL * v;
|
next_sd_report_ms = millis() + 1000UL * v;
|
||||||
|
|
Loading…
Reference in a new issue