mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-31 14:37:49 +00:00
Add test for result usage
This commit is contained in:
parent
0a22261e36
commit
850d240d2e
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user