mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-24 11:16:34 +00:00
Add RcSwitch case insensitive A test
This commit is contained in:
parent
0fb8ee0de6
commit
1fe5ebc726
@ -117,7 +117,7 @@ void CmndRfProtocol(void) {
|
||||
}
|
||||
} else {
|
||||
if (XdrvMailbox.data_len > 0) {
|
||||
if ('a' == XdrvMailbox.data[0]) {
|
||||
if ('A' == toupper(XdrvMailbox.data[0])) {
|
||||
Settings.rf_protocol_mask = (1ULL << mySwitch.getNumProtos()) -1;
|
||||
} else {
|
||||
thisdat = strtoull(XdrvMailbox.data, nullptr, 0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user