Reduce need for UNUSED
This commit is contained in:
@@ -273,7 +273,7 @@ public:
|
||||
|
||||
static void init();
|
||||
static void update();
|
||||
static void set_alert_status_P(PGM_P message);
|
||||
static void set_alert_status_P(PGM_P const message);
|
||||
|
||||
static char status_message[];
|
||||
static bool has_status();
|
||||
@@ -393,10 +393,10 @@ public:
|
||||
static inline void update() {}
|
||||
static inline void refresh() {}
|
||||
static inline void return_to_status() {}
|
||||
static inline void set_alert_status_P(PGM_P message) { UNUSED(message); }
|
||||
static inline void set_status(const char* const message, const bool persist=false) { UNUSED(message); UNUSED(persist); }
|
||||
static inline void set_status_P(PGM_P const message, const int8_t level=0) { UNUSED(message); UNUSED(level); }
|
||||
static inline void status_printf_P(const uint8_t level, PGM_P const fmt, ...) { UNUSED(level); UNUSED(fmt); }
|
||||
static inline void set_alert_status_P(PGM_P const) {}
|
||||
static inline void set_status(const char* const, const bool=false) {}
|
||||
static inline void set_status_P(PGM_P const, const int8_t=0) {}
|
||||
static inline void status_printf_P(const uint8_t, PGM_P const, ...) {}
|
||||
static inline void reset_status() {}
|
||||
static inline void reset_alert_level() {}
|
||||
static constexpr bool has_status() { return false; }
|
||||
|
||||
Reference in New Issue
Block a user