feat: Automatic soft-serial fallback for module ports (#3823)

This commit is contained in:
Raphael Coeffic
2023-10-07 12:23:51 +10:00
committed by GitHub
parent 1e925edf4a
commit 3cbcc6b7bf
17 changed files with 130 additions and 83 deletions
+1 -1
View File
@@ -343,7 +343,7 @@ const char *FrskyDeviceFirmwareUpdate::doFlashFirmware(
//
uint8_t serial_module = module != SPORT_MODULE ? module : EXTERNAL_MODULE;
mod_st = modulePortInitSerial(serial_module, port, &cfg);
mod_st = modulePortInitSerial(serial_module, port, &cfg, false);
if (!mod_st) return "Communication port error";
// assume RX port is the same as TX