fix finding protocol implementation
This commit is contained in:
parent
8319ae3b5d
commit
0ebb9902df
@ -28,7 +28,7 @@ void setup() {
|
||||
}
|
||||
|
||||
Protocol findProtocol(unsigned int protocol) {
|
||||
switch (mySwitch.getReceivedProtocol()) {
|
||||
switch (protocol) {
|
||||
case 1:
|
||||
return protocol_1;
|
||||
case 2:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user