X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=common%2Feeconfig.h;h=3e195478b5a232818b6be8b3339fb95cdaea883c;hb=f0c5f1b910ecf9536e5b95cc4ca9a43b0f4b2c36;hp=2786995a29e391dab5acb56fdad6bb78cca07b46;hpb=e4fbaf30be00d73a3fab2aee24c7a522a0ecdd31;p=tmk_firmware.git diff --git a/common/eeconfig.h b/common/eeconfig.h index 2786995..3e19547 100644 --- a/common/eeconfig.h +++ b/common/eeconfig.h @@ -20,6 +20,10 @@ along with this program. If not, see . #include +#ifndef EECONFIG_IS_ENABLED +#define EECONFIG_IS_ENABLED() true +#endif + #define EECONFIG_MAGIC_NUMBER (uint16_t)0xFEED /* eeprom parameteter address */ @@ -61,10 +65,14 @@ typedef union { }; } keyconf; -bool eeconfig_initialized(void); +bool eeconfig_is_enabled(void); void eeconfig_init(void); +void eeconfig_enable(void); + +void eeconfig_disable(void); + uint8_t eeconfig_read_debug(void); void eeconfig_write_debug(uint8_t val);