Add kStatus_Uhk_NoOp and make the scheduler handle it.

This commit is contained in:
László Monda
2017-09-22 14:32:43 +02:00
parent 2aa74853b5
commit ef9d9ee9a7
3 changed files with 7 additions and 3 deletions

View File

@@ -39,6 +39,7 @@ status_t UhkModuleSlaveDriver_Update(uint8_t uhkModuleId)
if (CRC16_IsMessageValid(rxBuffer, KEY_STATE_SIZE)) {
BoolBitsToBytes(rxBuffer, CurrentKeyStates[SLOT_ID_LEFT_KEYBOARD_HALF], LEFT_KEYBOARD_HALF_KEY_COUNT);
}
status = kStatus_Uhk_NoOp;
uhkModulePhase = UhkModulePhase_SetLedPwmBrightness;
break;
case UhkModulePhase_SetLedPwmBrightness: