Skip to content

Commit

Permalink
PCA9685 - Remove unused callbacks in Xdrv15()
Browse files Browse the repository at this point in the history
  • Loading branch information
andrethomas authored Sep 30, 2018
1 parent da0b283 commit 047f430
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions sonoff/xdrv_15_pca9685.ino
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 047f430

Please sign in to comment.