From 8d379bf60e50960f6c855cd6b9c83956a082f73d Mon Sep 17 00:00:00 2001 From: Josh Rahm Date: Thu, 2 Dec 2021 17:19:00 -0700 Subject: Break out the state parmaters into their own include file. This helps by creating one location to add state parameters. --- include/state_params.i | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 include/state_params.i (limited to 'include/state_params.i') diff --git a/include/state_params.i b/include/state_params.i new file mode 100644 index 0000000..447b72b --- /dev/null +++ b/include/state_params.i @@ -0,0 +1,9 @@ +STATE_PARAM(uint32_t, time) +STATE_PARAM(int, timetick) +STATE_PARAM(uint8_t, brightness) +STATE_PARAM(uint8_t, off) +STATE_PARAM(uint8_t, n_snow) +STATE_PARAM(uint8_t, n_red) +STATE_PARAM(bool, sleep) +STATE_PARAM(bool, power) +STATE_PARAM(bool, cool) -- cgit