Skip to content

Commit 7881d25

Browse files
committed
Compass 值映射
1 parent c6329da commit 7881d25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lcdDisplay.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -743,7 +743,7 @@ namespace lcdDisplay {
743743
setBarValue(num, data);
744744
break;
745745
case LCDWidgetCategoryOne.Compass:
746-
setCompassScale(num, data);
746+
setCompassScale(num, (data / 360) * 3600);
747747
break;
748748
case LCDWidgetCategoryOne.Gauge:
749749
setGaugeValue(num, data);

0 commit comments

Comments
 (0)