Split config_state.[ch] to config_globals.[ch] and basic_types.[ch]

This commit is contained in:
László Monda
2017-08-08 23:22:18 +02:00
parent 84d510435d
commit dd5a0e058d
10 changed files with 43 additions and 30 deletions
+22
View File
@@ -0,0 +1,22 @@
#ifndef __CONFIG_STATE_H__
#define __CONFIG_STATE_H__
// Includes:
#include "fsl_common.h"
#include "eeprom.h"
#include "basic_types.h"
// Macros:
#define HARDWARE_CONFIG_SIZE 64
#define USER_CONFIG_SIZE (EEPROM_SIZE - HARDWARE_CONFIG_SIZE)
// Variables:
extern bool ParserRunDry;
extern config_buffer_t HardwareConfigBuffer;
extern config_buffer_t UserConfigBuffer;
extern config_buffer_t StagingUserConfigBuffer;
#endif