Scale thermometer appropriately

This commit is contained in:
XANTRONIX Development 2019-06-13 23:47:15 -05:00
parent d2ef10ead7
commit 1c598356ad

View file

@ -83,5 +83,5 @@ void hexagram_thermo_draw_needle(hexagram_thermo *thermo,
hexagram_gauge_draw_needle(&thermo->gauge, hexagram_gauge_draw_needle(&thermo->gauge,
cr, cr,
0.9, 0.9,
(temp * (9.0/5.0) + 32.0) / 260); ((temp * (9.0/5.0) + 32.0) - 120) / 140.0);
} }