fix finding protocol implementation

This commit is contained in:
Nicu Hodos 2022-10-27 11:57:03 +02:00
parent 8319ae3b5d
commit 0ebb9902df

View File

@ -28,7 +28,7 @@ void setup() {
}
Protocol findProtocol(unsigned int protocol) {
switch (mySwitch.getReceivedProtocol()) {
switch (protocol) {
case 1:
return protocol_1;
case 2: