FreeEMS Issues - Firmware
View Issue Details
0000939FirmwareDecoderspublic2015-06-14 04:202015-06-14 04:20
Fred 
Fred 
normalminoralways
assignedopen 
0.2.0-SNAPSHOT 
0.2.0 
6dd79320ca05d0a764cba2f6f17c241b6779fec9
Improvement
medium
0000939: State flags and variables not separated correctly
Some assumptions are made in some decoders about the validity of various variables which could result in desync due to using data that is zero when it's assumed to be something else.

Specifically, at least, the last period flag is used to denote the lastTicksPerDegree to be valid. This is an optimisation, actually, as sometimes it's possible to calculate the last ticks value after-the-fact. And frequently this field is not valid when it's being set in the block at the end of most/some decoders.
No tags attached.
child of 0000111assigned Fred Finalise Decoder Interface (for now at least) 

There are no notes attached to this issue.