FreeEMS Issues - Firmware
View Issue Details
0000938FirmwareDecoderspublic2015-06-14 03:562015-06-14 03:56
Fred 
Fred 
normalminoralways
assignedopen 
0.2.0-SNAPSHOT 
0.2.0 
6dd79320ca05d0a764cba2f6f17c241b6779fec9
Improvement
medium
0000938: Timestamp variable used badly in all decoders
All decoders put this into a variable first, when they could put it straight into the timestamp lower half. Some have that variable static, some local/automatic.

The timestamp variable is used by all decoders, always. It should be statically or globally allocated in the interface files, and the value should be placed directly into the appropriate part of it rather than into a short term holding variable. Being automatic/inline means it's allocated as part of the stack and therefore takes up a little more time to run than if it was static/global.
No tags attached.
child of 0000111assigned Fred Finalise Decoder Interface (for now at least) 

There are no notes attached to this issue.