From 6d9ceae8eab62ba33011a82c8fad8e55d37fe7ba Mon Sep 17 00:00:00 2001 From: Selene ToyKeeper Date: Sat, 26 Aug 2017 16:48:25 -0600 Subject: Added eeprom load/save API (no wear levelling yet), verified it works in DarkHorse. --- spaghetti-monster/spaghetti-monster.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'spaghetti-monster/spaghetti-monster.h') 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" -- cgit v1.2.3