Add and initialize firmwareI2cAddress and bootloaderI2cAddress to uhk_module_state_t.

This commit is contained in:
László Monda
2017-09-28 18:10:33 +02:00
parent f80a88c419
commit 6ec5140eca
2 changed files with 27 additions and 0 deletions
@@ -37,8 +37,15 @@
uhk_module_phase_t phase;
uhk_module_vars_t targetVars;
i2c_message_t rxMessage;
uint8_t firmwareI2cAddress;
uint8_t bootloaderI2cAddress;
} uhk_module_state_t;
typedef struct {
uint8_t firmwareI2cAddress;
uint8_t bootloaderI2cAddress;
} uhk_module_i2c_addresses_t;
// Variables:
extern uhk_module_vars_t UhkModuleVars[UHK_MODULE_MAX_COUNT];