Add gyro settings computations

This commit is contained in:
3djc
2019-04-04 10:43:43 +02:00
parent ca8fa60874
commit d775a91545
5 changed files with 9 additions and 5 deletions
+2 -2
View File
@@ -60,12 +60,12 @@ void menuRadioDiagAnalogs(event_t event)
lcdDrawText(x, y, "X:");
lcdDrawNumber(x+3*FW-1, y, gyro.outputs[0] * 180 / 1024);
lcdDrawChar(lcdNextPos, y, '@');
lcdDrawNumber(x+10*FW-1, y, gyro.outputs[0], RIGHT);
lcdDrawNumber(x+10*FW-1, y, gyro.scaled_outputs[0], RIGHT);
x = LCD_W/2 + INDENT_WIDTH;
lcdDrawText(x, y, "Y:");
lcdDrawNumber(x+3*FW-1, y, gyro.outputs[1] * 180 / 1024);
lcdDrawChar(lcdNextPos, y, '@');
lcdDrawNumber(x+10*FW-1, y, gyro.outputs[1], RIGHT);
lcdDrawNumber(x+10*FW-1, y, gyro.scaled_outputs[1], RIGHT);
#endif
// RAS