All my comments from the PR fixed. Still missing the Companion part

This commit is contained in:
Bertrand Songis
2021-02-01 23:02:52 +01:00
parent f735360dc0
commit 72feef3911
20 changed files with 40 additions and 34 deletions
+1 -1
View File
@@ -49,7 +49,7 @@ void Pxx2Pulses::addFlag1(uint8_t module)
}
uint8_t flag1 = subType << 4u;
if (isFunctionActive(FUNCTION_RACING_MODE)) {
if (isRacingModeEnabled() && isFunctionActive(FUNCTION_RACING_MODE)) {
flag1 |= PXX2_CHANNELS_FLAG1_RACING_MODE;
}