From c27bb0e9094bb7012a02628632b2f17d41c3a16f Mon Sep 17 00:00:00 2001 From: XANTRONIX Development Date: Thu, 13 Jun 2019 23:35:18 -0500 Subject: [PATCH] Don't forget to convert temp to Fahrenheit --- src/thermo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/thermo.c b/src/thermo.c index 71f7120..1e60872 100644 --- a/src/thermo.c +++ b/src/thermo.c @@ -83,5 +83,5 @@ void hexagram_thermo_draw_needle(hexagram_thermo *thermo, hexagram_gauge_draw_needle(&thermo->gauge, cr, 0.9, - temp / 260); + (temp * (9.0/5.0) + 32.0) / 260); }