File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -969,7 +969,7 @@ export function FlightLogParser(logData) {
969
969
// Just Add them anyway
970
970
that . sysConfig [ fieldName ] = fieldValue ;
971
971
break ;
972
- case "Device UID " :
972
+ case "DeviceUID " :
973
973
that . sysConfig . deviceUID = fieldValue ;
974
974
break ;
975
975
default :
Original file line number Diff line number Diff line change @@ -516,15 +516,15 @@ function BlackboxLogViewer() {
516
516
} else {
517
517
$(".log-device-uid-header,.log-device-uid").css('display', 'none');
518
518
}
519
- **/
519
+ **/
520
520
521
521
// Add log version information to status bar
522
522
const sysConfig = flightLog . getSysConfig ( ) ;
523
+
523
524
$ ( ".version" , statusBar ) . text (
524
- ( sysConfig [ "Craft name" ] != null ? `${ sysConfig [ "Craft name" ] } : ` : "" ) +
525
- ( sysConfig [ "Firmware revision" ] != null
526
- ? sysConfig [ "Firmware revision" ]
527
- : "" )
525
+ ( sysConfig [ "Craft name" ] != null && sysConfig [ "Craft name" ] . length ? `${ sysConfig [ "Craft name" ] } : ` : "" ) +
526
+ ( sysConfig [ "Firmware revision" ] != null ? `${ sysConfig [ "Firmware revision" ] } ` : "" ) +
527
+ ( sysConfig . deviceUID != null ? ` (${ sysConfig . deviceUID } )` : "" )
528
528
) ;
529
529
$ ( ".looptime" , statusBar ) . text (
530
530
stringLoopTime (
You can’t perform that action at this time.
0 commit comments