PCA9685 - Remove unused callbacks in Xdrv15()

This commit is contained in:
andrethomas 2018-10-01 00:27:16 +02:00 committed by GitHub
parent da0b283fe7
commit 047f430ad8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -179,25 +179,17 @@ boolean Xdrv15(byte function)
if (i2c_flg) {
switch (function) {
case FUNC_MQTT_DATA:
break;
case FUNC_EVERY_SECOND:
PCA9685_Detect();
if (tele_period == 0) {
PCA9685_OutputTelemetry();
}
break;
case FUNC_EVERY_50_MSECOND:
break;
case FUNC_JSON_APPEND:
break;
case FUNC_COMMAND:
if (XDRV_15 == XdrvMailbox.index) {
PCA9685_Command();
}
break;
case FUNC_WEB_APPEND:
break;
default:
break;
}