Skip to content

Commit

Permalink
Compass 值映射
Browse files Browse the repository at this point in the history
  • Loading branch information
zhang-tang committed Jul 31, 2024
1 parent c6329da commit 7881d25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lcdDisplay.ts
Original file line number Diff line number Diff line change
Expand Up @@ -743,7 +743,7 @@ namespace lcdDisplay {
setBarValue(num, data);
break;
case LCDWidgetCategoryOne.Compass:
setCompassScale(num, data);
setCompassScale(num, (data / 360) * 3600);
break;
case LCDWidgetCategoryOne.Gauge:
setGaugeValue(num, data);
Expand Down

0 comments on commit 7881d25

Please sign in to comment.