Remove deleted slave protocol command clauses.

This commit is contained in:
László Monda
2017-08-19 18:29:26 +02:00
parent 73239cd4f1
commit 8e50712f75

View File

@@ -47,13 +47,5 @@ void SlaveProtocolHandler(void)
uint8_t brightnessPercent = SlaveRxBuffer[1];
LedPwm_SetBrightness(brightnessPercent);
break;
case SlaveCommand_SetDisableKeyMatrixScanState:
SlaveTxSize = 0;
DisableKeyMatrixScanState = SlaveRxBuffer[1];
break;
case SlaveCommand_SetDisableLedSdb:
SlaveTxSize = 0;
GPIO_WritePinOutput(LED_DRIVER_SDB_GPIO, LED_DRIVER_SDB_PIN, SlaveRxBuffer[1] ? 0 : 1);
break;
}
}