mirror of
https://github.com/arendst/Tasmota.git
synced 2026-06-13 22:04:38 -04:00
Add test for result usage
This commit is contained in:
@@ -311,7 +311,9 @@ boolean XsnsCall(byte Function)
|
||||
}
|
||||
#endif // PROFILE_XSNS_SENSOR_EVERY_SECOND
|
||||
|
||||
if (result) break;
|
||||
if (result && (FUNC_COMMAND == Function)) {
|
||||
break;
|
||||
}
|
||||
#ifdef USE_DEBUG_DRIVER
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user