markwj/Open-Vehicle-Monitoring-System — Issue #30: Battery temperature overflow
Author: nikwest
Created: 2012-02-03 19:21:28+00:00
State: open

When battery temperature is below 0 degrees Celsius it will show 254 degrees Celsius for -1 ...
Seems like a data overflow or unsigned/signed casting problem.

I just quickly looked at the code and all the temperature data types are unsigned? (Is it in Fahrenheit?)
Then again in net_msg.c line 292 the sprintf assumes signed data types(%d instead of %u).