Skip to content

Commit

Permalink
chore: auto select radio fastest supported baudrate for elrs (#4698)
Browse files Browse the repository at this point in the history
  • Loading branch information
3djc authored Mar 11, 2024
1 parent 4bfc1c9 commit 3085603
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions radio/src/opentx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -292,8 +292,8 @@ void generalDefault()

#if defined(DEFAULT_INTERNAL_MODULE)
g_eeGeneral.internalModule = DEFAULT_INTERNAL_MODULE;
if (g_eeGeneral.internalModule == MODULE_TYPE_CROSSFIRE)
g_eeGeneral.internalModuleBaudrate = min(1, (int)CROSSFIRE_MAX_INTERNAL_BAUDRATE); // 921k if possible
if (DEFAULT_INTERNAL_MODULE == MODULE_TYPE_CROSSFIRE)
g_eeGeneral.internalModuleBaudrate = CROSSFIRE_MAX_INTERNAL_BAUDRATE;
#endif

adcCalibDefaults();
Expand Down

0 comments on commit 3085603

Please sign in to comment.