aboutsummaryrefslogtreecommitdiff
path: root/control/state.c
diff options
context:
space:
mode:
Diffstat (limited to 'control/state.c')
-rw-r--r--control/state.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/control/state.c b/control/state.c
new file mode 100644
index 0000000..fece172
--- /dev/null
+++ b/control/state.c
@@ -0,0 +1,11 @@
+#include "state.h"
+
+enum led_mode mode;
+
+const unsigned brightness_max = 8;
+unsigned brightness = 8;
+
+int enabled = 0;
+
+
+enum state state = STATE_DEFAULT;