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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user