From e37872398e5730a999089e1145dcfac875e65dbf Mon Sep 17 00:00:00 2001 From: Bertrand Songis Date: Thu, 27 Jul 2017 12:22:24 +0200 Subject: [PATCH] Fixes #5100 --- companion/src/radiodata.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/companion/src/radiodata.cpp b/companion/src/radiodata.cpp index dfddfa71a..e34e7325b 100644 --- a/companion/src/radiodata.cpp +++ b/companion/src/radiodata.cpp @@ -76,7 +76,7 @@ RawSwitch RawSwitch::convert(Board::Type before, Board::Type after) if (type == SWITCH_TYPE_SWITCH && index >= 18) { index -= 6; } - else if (type == SWITCH_TYPE_SWITCH && index >= 12) { + else if (type == SWITCH_TYPE_SWITCH && index >= 15) { index -= 3; } }