aboutsummaryrefslogtreecommitdiff
path: root/spaghetti-monster/spaghetti-monster.h
diff options
context:
space:
mode:
authorSelene ToyKeeper2017-08-26 16:48:25 -0600
committerSelene ToyKeeper2017-08-26 16:48:25 -0600
commit6d9ceae8eab62ba33011a82c8fad8e55d37fe7ba (patch)
tree211c101934d09d249c7d26e8d35282ccfecc3d9f /spaghetti-monster/spaghetti-monster.h
parentReplaced bare config errors with the preprocessor's intended method of throwi... (diff)
downloadanduril-6d9ceae8eab62ba33011a82c8fad8e55d37fe7ba.tar.gz
anduril-6d9ceae8eab62ba33011a82c8fad8e55d37fe7ba.tar.bz2
anduril-6d9ceae8eab62ba33011a82c8fad8e55d37fe7ba.zip
Added eeprom load/save API (no wear levelling yet), verified it works in DarkHorse.
Diffstat (limited to 'spaghetti-monster/spaghetti-monster.h')
-rw-r--r--spaghetti-monster/spaghetti-monster.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/spaghetti-monster/spaghetti-monster.h b/spaghetti-monster/spaghetti-monster.h
index 3727930..82800b4 100644
--- a/spaghetti-monster/spaghetti-monster.h
+++ b/spaghetti-monster/spaghetti-monster.h
@@ -34,6 +34,9 @@
#include "fsm-pcint.h"
#include "fsm-standby.h"
#include "fsm-ramping.h"
+#ifdef USE_EEPROM
+#include "fsm-eeprom.h"
+#endif
#include "fsm-misc.h"
#include "fsm-main.h"
@@ -71,5 +74,8 @@ void loop();
#include "fsm-pcint.c"
#include "fsm-standby.c"
#include "fsm-ramping.c"
+#ifdef USE_EEPROM
+#include "fsm-eeprom.c"
+#endif
#include "fsm-misc.c"
#include "fsm-main.c"