minor edits
This commit is contained in:
@ -58,7 +58,6 @@ class StateManager {
|
|||||||
bool _isDirty;
|
bool _isDirty;
|
||||||
unsigned long _lastChangeTime;
|
unsigned long _lastChangeTime;
|
||||||
static const unsigned long SAVE_DELAY_MS = 2000;
|
static const unsigned long SAVE_DELAY_MS = 2000;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // SAVE_STATE_H
|
#endif // SAVE_STATE_H
|
||||||
@ -11,7 +11,8 @@
|
|||||||
|
|
||||||
#include "gravity.h"
|
#include "gravity.h"
|
||||||
|
|
||||||
// Initialize the static pointer for the EncoderDir class to null.
|
// Initialize the static pointer for the EncoderDir class to null. We want to
|
||||||
|
// have a static pointer to decouple the ISR from the global gravity object.
|
||||||
EncoderDir* EncoderDir::_instance = nullptr;
|
EncoderDir* EncoderDir::_instance = nullptr;
|
||||||
|
|
||||||
void Gravity::Init() {
|
void Gravity::Init() {
|
||||||
|
|||||||
Reference in New Issue
Block a user