🧑‍💻 Remove extraneous 'inline' hints

This commit is contained in:
Scott Lahteine
2021-12-28 02:57:24 -06:00
committed by Scott Lahteine
parent ccc66a8528
commit 5b9f3bd4b1
67 changed files with 537 additions and 537 deletions

View File

@@ -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:

View File

@@ -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();
}

View File

@@ -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
};