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

Pierre Uhl pi.uhl at bluewin.ch
Mon Jan 13 23:52:35 HKT 2014

Highest Motor Temperature on Roadster is 157°C. Then the Power will be
reduced to cool down the Motor.




Pierre Uhl


Von: ovmsdev-bounces at lists.teslaclub.hk
[mailto:ovmsdev-bounces at lists.teslaclub.hk] Im Auftrag von Håkon Markussen
Gesendet: Montag, 13. Januar 2014 13:50
An: OVMS Developers
Betreff: [Ovmsdev] Motor temp does not support negative numbers (car_tmotor)


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


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvehicles.com/pipermail/ovmsdev/attachments/20140113/d35fa76e/attachment.htm>

More information about the OvmsDev mailing list