We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 398bda0 commit 9b7b9e9Copy full SHA for 9b7b9e9
1 file changed
gcs/electron/fla.ts
@@ -376,6 +376,17 @@ function parseDataflashBinFile(
376
aircraftType: getAircraftTypeFromMavType(parser.getMavType()),
377
...transformedMessages,
378
}
379
+
380
+ if (
381
+ Array.isArray(parsedData?.PARM) &&
382
+ parsedData.PARM.some(
383
+ (param: MessageObject) =>
384
+ param.Name === "Q_ENABLE" && param.Value === 1,
385
+ )
386
+ ) {
387
+ parsedData.aircraftType = "quadplane"
388
+ }
389
390
webContents.send("fla:log-parse-progress", {
391
percent: 100,
392
})
0 commit comments