Refactoring to have globals splitted from opentx.h for easier includes (#7511)

This commit is contained in:
Bertrand Songis
2020-04-11 13:18:57 +02:00
committed by GitHub
parent ebe33693b4
commit d90ac28cc1
10 changed files with 119 additions and 104 deletions
+1 -3
View File
@@ -308,9 +308,7 @@ static void enablePulsesInternalModule(uint8_t protocol)
#if defined(PXX2)
case PROTOCOL_CHANNELS_PXX2_HIGHSPEED:
intmoduleSerialStart(PXX2_HIGHSPEED_BAUDRATE, true, USART_Parity_No, USART_StopBits_1, USART_WordLength_8b);
#if defined(HARDWARE_INTERNAL_MODULE) && defined(INTERNAL_MODULE_PXX2) && defined(ACCESS_LIB)
globalData.authenticationCount = 0;
#endif
resetAccessAuthenticationCount();
break;
#endif