Ticket #177 (closed defect: fixed)

Opened 16 months ago

Last modified 16 months ago

UPM sensors don't work for negative values

Reported by: micke prag <micke.prag@…> Owned by: micke prag <micke.prag@…>
Priority: minor Milestone: 2.1.1
Component: telldus-core Version:
Keywords: Cc:
Blocked By: Blocking:
Platform: All Sensitive:
Verified by Telldus: yes

Description

Gives values like 33554431.8 degrees.

Change History

comment:1 Changed 16 months ago by micke prag <micke.prag@…>

  • Owner set to micke prag <micke.prag@…>
  • Status changed from new to assigned

comment:2 Changed 16 months ago by micke.prag@…

  • Status changed from assigned to closed
  • Resolution set to fixed

commit 1ef4610f524951d17487f534a13072d7ca933899
Author: Micke Prag <micke.prag@…>
Date: Thu Jan 26 12:42:56 2012 +0100

Make sure the substration is made using two doubles. Since value is unsigned negative results might overflow otherwise. This closes #177

Note: See TracTickets for help on using tickets.