fix(isrm): flashing internal ISRM module (#2596)

Fixes #1552
This commit is contained in:
Raphael Coeffic
2022-10-19 21:13:48 +10:00
committed by GitHub
parent 770c9bbde6
commit 2067140552
3 changed files with 39 additions and 50 deletions
-2
View File
@@ -789,10 +789,8 @@ inline void setDefaultPpmFrameLength(uint8_t moduleIdx)
inline void resetAccessAuthenticationCount()
{
#if defined(ACCESS_LIB)
// the module will reset on mode switch, we need to reset the authentication counter
globalData.authenticationCount = 0;
#endif
}
inline void resetAfhdsOptions(uint8_t moduleIdx)