Don't forget to convert temp to Fahrenheit

This commit is contained in:
XANTRONIX Development 2019-06-13 23:35:18 -05:00
parent e539078cf9
commit c27bb0e909

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 / 260); (temp * (9.0/5.0) + 32.0) / 260);
} }