Update sonoff.ino

This commit is contained in:
Adrian Scillato 2018-04-07 00:37:42 -03:00 committed by GitHub
parent 5c8d0b32d8
commit 3d82ca212c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1137,7 +1137,7 @@ boolean send_button_power(byte key, byte device, byte state)
result = true;
}
#ifdef USE_KNX
knx_send_button_power(key, device, state);
KNX_Send_Button_Power(key, device, state);
#endif
return result;
}
@ -1190,7 +1190,7 @@ void ExecuteCommandPower(byte device, byte state)
DomoticzUpdatePowerState(device);
#endif // USE_DOMOTICZ
#ifdef USE_KNX
KNXUpdatePowerState(device, power);
KNX_Update_Power_State(device, power);
#endif // USE_KNX
if (device <= MAX_PULSETIMERS) {
// pulse_timer[(device -1)] = (power & mask) ? Settings.pulse_timer[(device -1)] : 0;