Add uhk_module_state_t containing module variables and phase. Merge uhkModuleTargetStates and uhkModulePhases to uhkModuleStates.

This commit is contained in:
László Monda
2017-09-28 17:06:56 +02:00
parent de21cfc07e
commit ef2c4a1e7f
2 changed files with 24 additions and 18 deletions

View File

@@ -33,6 +33,11 @@
bool isTestLedOn;
} uhk_module_vars_t;
typedef struct {
uhk_module_phase_t phase;
uhk_module_vars_t targetVars;
} uhk_module_state_t;
// Variables:
extern uhk_module_vars_t UhkModuleVars[UHK_MODULE_MAX_COUNT];