Distinguish serial index from mask (#21287)
This commit is contained in:
@ -28,8 +28,8 @@ struct AutoReporter {
|
||||
millis_t next_report_ms;
|
||||
uint8_t report_interval;
|
||||
#if HAS_MULTI_SERIAL
|
||||
serial_index_t report_port_mask;
|
||||
AutoReporter() : report_port_mask(SERIAL_ALL) {}
|
||||
SerialMask report_port_mask;
|
||||
AutoReporter() : report_port_mask(SerialMask::All) {}
|
||||
#endif
|
||||
|
||||
inline void set_interval(uint8_t seconds, const uint8_t limit=60) {
|
||||
|
Reference in New Issue
Block a user