Add RcSwitch case insensitive A test

This commit is contained in:
Theo Arends 2020-12-08 19:58:43 +01:00
parent 0fb8ee0de6
commit 1fe5ebc726
1 changed files with 1 additions and 1 deletions

View File

@ -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);