🧑💻 Remove extraneous 'inline' hints
This commit is contained in:
committed by
Scott Lahteine
parent
ccc66a8528
commit
5b9f3bd4b1
@@ -118,11 +118,11 @@ public:
|
||||
|
||||
#if ENABLED(MONITOR_L6470_DRIVER_STATUS)
|
||||
static bool monitor_paused;
|
||||
static inline void pause_monitor(const bool p) { monitor_paused = p; }
|
||||
static void pause_monitor(const bool p) { monitor_paused = p; }
|
||||
static void monitor_update(L64XX_axis_t stepper_index);
|
||||
static void monitor_driver();
|
||||
#else
|
||||
static inline void pause_monitor(const bool) {}
|
||||
static void pause_monitor(const bool) {}
|
||||
#endif
|
||||
|
||||
//protected:
|
||||
|
@@ -77,7 +77,7 @@
|
||||
* @brief Resets the state of the class
|
||||
* @details Brings the class state to a known one.
|
||||
*/
|
||||
static inline void reset() {
|
||||
static void reset() {
|
||||
off();
|
||||
state.endtime = 0;
|
||||
}
|
||||
@@ -86,7 +86,7 @@
|
||||
/**
|
||||
* @brief Init Buzzer
|
||||
*/
|
||||
static inline void init() {
|
||||
static void init() {
|
||||
SET_OUTPUT(BEEPER_PIN);
|
||||
reset();
|
||||
}
|
||||
|
@@ -53,7 +53,7 @@ class Stopwatch {
|
||||
* @return true on success
|
||||
*/
|
||||
static bool stop();
|
||||
static inline bool abort() { return stop(); } // Alias by default
|
||||
static bool abort() { return stop(); } // Alias by default
|
||||
|
||||
/**
|
||||
* @brief Pause the stopwatch
|
||||
@@ -114,7 +114,7 @@ class Stopwatch {
|
||||
|
||||
#else
|
||||
|
||||
static inline void debug(FSTR_P const) {}
|
||||
static void debug(FSTR_P const) {}
|
||||
|
||||
#endif
|
||||
};
|
||||
|
Reference in New Issue
Block a user