From 259f4d3299c4e583c992047e9013bec21195ff07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A1szl=C3=B3=20Monda?= Date: Wed, 4 Oct 2017 23:57:43 +0200 Subject: [PATCH] Add config_buffer_id_t. --- right/src/config_parser/config_globals.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/right/src/config_parser/config_globals.h b/right/src/config_parser/config_globals.h index e45bfef..bef7539 100644 --- a/right/src/config_parser/config_globals.h +++ b/right/src/config_parser/config_globals.h @@ -12,11 +12,19 @@ #define HARDWARE_CONFIG_SIZE 64 #define USER_CONFIG_SIZE (EEPROM_SIZE - HARDWARE_CONFIG_SIZE) +// Typedefs: + + typedef enum { + ConfigBufferId_HardwareConfig, + ConfigBufferId_StagingUserConfig, + ConfigBufferId_ValidatedUserConfig, + } config_buffer_id_t; + // Variables: extern bool ParserRunDry; extern config_buffer_t HardwareConfigBuffer; - extern config_buffer_t ValidatedUserConfigBuffer; extern config_buffer_t StagingUserConfigBuffer; + extern config_buffer_t ValidatedUserConfigBuffer; #endif