RX messages are per-module by nature, so instead of using a singleton, add rxMessage to uhk_module_state_t.

This commit is contained in:
László Monda
2017-09-28 17:17:30 +02:00
parent 3fda14df27
commit f80a88c419
2 changed files with 7 additions and 7 deletions

View File

@@ -36,6 +36,7 @@
typedef struct {
uhk_module_phase_t phase;
uhk_module_vars_t targetVars;
i2c_message_t rxMessage;
} uhk_module_state_t;
// Variables: