From 0628d2f1a5205ca87b8e2f84aa42556a72919d10 Mon Sep 17 00:00:00 2001 From: Stephan Hadinger Date: Fri, 11 Nov 2022 11:34:32 +0100 Subject: [PATCH] Use `XdrvXsnsCall` --- tasmota/tasmota_support/support_tasmota.ino | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tasmota/tasmota_support/support_tasmota.ino b/tasmota/tasmota_support/support_tasmota.ino index a0263fc7e..f6fd5981f 100644 --- a/tasmota/tasmota_support/support_tasmota.ino +++ b/tasmota/tasmota_support/support_tasmota.ino @@ -1626,8 +1626,7 @@ void Every250mSeconds(void) // send FUNC_NETWORK_UP to all modules if (network_state_changed) { // AddLog(LOG_LEVEL_DEBUG_MORE, PSTR("WIF: Sending FUNC_NETWORK_UP")); - XdrvCall(FUNC_NETWORK_UP); - XsnsCall(FUNC_NETWORK_UP); + XdrvXsnsCall(FUNC_NETWORK_UP); } MqttCheck(); @@ -1640,8 +1639,7 @@ void Every250mSeconds(void) // send FUNC_NETWORK_UP to all modules if (network_state_changed) { // AddLog(LOG_LEVEL_DEBUG_MORE, PSTR("WIF: Sending FUNC_NETWORK_DOWN")); - XdrvCall(FUNC_NETWORK_DOWN); - XsnsCall(FUNC_NETWORK_DOWN); + XdrvXsnsCall(FUNC_NETWORK_DOWN); } } // Every x.75 second }