Fixed publish_current_state()
This commit is contained in:
@ -2,6 +2,7 @@
|
||||
#include "my_fastled.h"
|
||||
#include <list>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
#include "config.h"
|
||||
#include "node.h"
|
||||
#include "corner.h"
|
||||
@ -26,6 +27,8 @@ enum AnimationMode {
|
||||
AM_STATIC
|
||||
};
|
||||
|
||||
extern std::map<AnimationMode, const char*> animation_mode_names;
|
||||
|
||||
extern AnimationMode mode;
|
||||
extern AnimationMode temp_mode;
|
||||
extern unsigned long temp_mode_until;
|
||||
|
@ -15,6 +15,7 @@ class State {
|
||||
void set(String key, String value);
|
||||
void commit();
|
||||
static void publish_current_state();
|
||||
static AnimationMode get_active_mode();
|
||||
|
||||
void parse_state(String state);
|
||||
void parse_mode(String mode);
|
||||
|
Reference in New Issue
Block a user