[Ovmsdev] Motor temp does not support negative numbers (car_tmotor)

Håkon Markussen hakon.markussen at gmail.com
Mon Jan 13 20:50:01 HKT 2014


Hi (Mark).

In ovms.h the motor temperature is defined as unsigned char (non-negative):
extern unsigned char car_tmotor; // Tmotor

Currently the weather is cold in Norway (-15 C) and I noticed that motor
temp was 244C.


Is it possible to update the car_tmotor to
extern signed char car_tmotor; // Tmotor
 in ovms.h?

Best regards
Håkon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvehicles.com/pipermail/ovmsdev/attachments/20140113/8b8d92cb/attachment.htm>


More information about the OvmsDev mailing list