Skip to content

Commit e291e23

Browse files
committed
fixes for sonar cloud
1 parent 8fd2fd7 commit e291e23

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

js/flightlog_fielddefs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ var
342342
"DEBUG_RX_STATE_TIME",
343343
"GPS_RESCUE_VELOCITY",
344344
"GPS_RESCUE_HEADING",
345-
"GPS_RESCUE_TRACKING"
345+
"GPS_RESCUE_TRACKING",
346346
]),
347347

348348
SUPER_EXPO_YAW = makeReadOnly([

js/flightlog_fields_presenter.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1089,9 +1089,9 @@ function FlightLogFieldPresenter() {
10891089
}
10901090
case 'GPS_RESCUE_THROTTLE_PID':
10911091
switch (fieldName) {
1092-
case 'debug[0]': // Throttle P added uS
1093-
case 'debug[1]': // Throttle D added * uS
1094-
return value.toFixed(0) + 'uS';
1092+
case 'debug[0]': // Throttle P added us
1093+
case 'debug[1]': // Throttle D added * us
1094+
return value.toFixed(0) + 'us';
10951095
case 'debug[2]': // current altitude in m
10961096
case 'debug[3]': // TARGET altitude in m
10971097
return (value / 100).toFixed(1) + 'm';
@@ -1177,7 +1177,7 @@ function FlightLogFieldPresenter() {
11771177
}
11781178
case 'GPS_RESCUE_HEADING':
11791179
switch (fieldName) {
1180-
case 'debug[0]': // Rescue yaw rate deg/s * 10 up to +/- 90
1180+
case 'debug[0]': // Rescue yaw rate deg/s * 10 up to +/- 90
11811181
return (value / 10).toFixed(1) + 'deg/s';
11821182
case 'debug[1]': // Rescue roll deg * 100 up to +/- 20 deg
11831183
return (value / 100).toFixed(1) + 'deg';

0 commit comments

Comments
 (0)