Distinguish serial index from mask (#21287)
This commit is contained in:
1 parent
2f1fd4bbaa
commit
55c31fbe9a
14 files changed
+135
-101
No files matched your search
@@ -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