Remove uhkModuleExternalStates for the time being. Caching will be reintroduced later.
This commit is contained in:
@@ -15,10 +15,6 @@
|
|||||||
LedDriverPhase_Initialized,
|
LedDriverPhase_Initialized,
|
||||||
} led_driver_phase_t;
|
} led_driver_phase_t;
|
||||||
|
|
||||||
typedef enum {
|
|
||||||
|
|
||||||
} led_driver_state_t;
|
|
||||||
|
|
||||||
// Functions:
|
// Functions:
|
||||||
|
|
||||||
extern void LedSlaveDriver_Init();
|
extern void LedSlaveDriver_Init();
|
||||||
|
|||||||
@@ -10,7 +10,6 @@
|
|||||||
|
|
||||||
uhk_module_state_t UhkModuleStates[UHK_MODULE_MAX_COUNT];
|
uhk_module_state_t UhkModuleStates[UHK_MODULE_MAX_COUNT];
|
||||||
uhk_module_phase_t uhkModulePhase = UhkModulePhase_SendKeystatesRequestCommand;
|
uhk_module_phase_t uhkModulePhase = UhkModulePhase_SendKeystatesRequestCommand;
|
||||||
uhk_module_state_t uhkModuleExternalStates[UHK_MODULE_MAX_COUNT];
|
|
||||||
uint8_t txBuffer[2];
|
uint8_t txBuffer[2];
|
||||||
uint8_t rxBuffer[KEY_STATE_BUFFER_SIZE];
|
uint8_t rxBuffer[KEY_STATE_BUFFER_SIZE];
|
||||||
|
|
||||||
@@ -26,7 +25,6 @@ void UhkModuleSlaveDriver_Init()
|
|||||||
void UhkModuleSlaveDriver_Update(uint8_t uhkModuleId)
|
void UhkModuleSlaveDriver_Update(uint8_t uhkModuleId)
|
||||||
{
|
{
|
||||||
uhk_module_state_t *uhkModuleInternalState = UhkModuleStates + uhkModuleId;
|
uhk_module_state_t *uhkModuleInternalState = UhkModuleStates + uhkModuleId;
|
||||||
//uhk_module_state_t *uhkModuleExternalState = uhkModuleExternalStates + uhkModuleId;
|
|
||||||
|
|
||||||
switch (uhkModulePhase) {
|
switch (uhkModulePhase) {
|
||||||
case UhkModulePhase_SendKeystatesRequestCommand:
|
case UhkModulePhase_SendKeystatesRequestCommand:
|
||||||
|
|||||||
Reference in New Issue
Block a user