fix: Flashing internal ISRM and via S.PORT connector (#3374)

* fix: re-enabled flashing via S.PORT connector

* fix: remove check for productId on internal module
This commit is contained in:
Raphael Coeffic
2023-03-26 11:30:01 +10:00
committed by GitHub
parent e016598b56
commit cb43cf75b9
2 changed files with 18 additions and 16 deletions
+1 -2
View File
@@ -315,8 +315,7 @@ const char *FrskyDeviceFirmwareUpdate::doFlashFirmware(
return STR_DEVICE_FILE_WRONG_SIG;
}
if (information.productFamily == FIRMWARE_FAMILY_INTERNAL_MODULE &&
information.productId == FIRMWARE_ID_MODULE_ISRM) {
if (information.productFamily == FIRMWARE_FAMILY_INTERNAL_MODULE) {
port = ETX_MOD_PORT_UART;
}