Reorganize some core headers (#11983)

This commit is contained in:
Scott Lahteine
2018-10-02 04:25:46 -05:00
committed by GitHub
parent ab4549d2bc
commit 0dedb3e139
14 changed files with 194 additions and 208 deletions

View File

@ -26,8 +26,8 @@
// Print debug messages with M111 S2 (Uses 156 bytes of PROGMEM)
//#define DEBUG_STOPWATCH
#include "../core/macros.h"
#include "../core/types.h"
#include "../core/macros.h" // for FORCE_INLINE
#include "../core/types.h" // for millis_t
/**
* @brief Stopwatch class
@ -36,11 +36,7 @@
*/
class Stopwatch {
private:
enum State : char {
STOPPED,
RUNNING,
PAUSED
};
enum State : char { STOPPED, RUNNING, PAUSED };
static Stopwatch::State state;
static millis_t accumulator;