diff options
author | Moritz Fischer <moritz.fischer@ettus.com> | 2012-10-18 11:24:28 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2012-10-19 16:45:50 -0700 |
commit | 99c9949eb1bbc9f33c838b43890754c816a23033 (patch) | |
tree | 65ce91c94b1c0f5900dc934f983ab04e2038707b /firmware/fx2/common/fpga_regs0.h | |
parent | 5cb9779da40491b06157596b06422f704a58c7d0 (diff) | |
download | uhd-99c9949eb1bbc9f33c838b43890754c816a23033.tar.gz uhd-99c9949eb1bbc9f33c838b43890754c816a23033.tar.bz2 uhd-99c9949eb1bbc9f33c838b43890754c816a23033.zip |
gps_ctrl.cpp: Partially rewritten, to use caching instead of throwing
away the 'wrong' messages.
The old way to do this was when a sensor was requested, to wait for the
corresponding NMEA message to pass by, throwing away all the 'wrong'
ones in the meantime. However, this leads to problems if the user
requests combinations that are based on the same NMEA string.
To avoid this we now try to cache the strings for a 'freshness' period.
Diffstat (limited to 'firmware/fx2/common/fpga_regs0.h')
0 files changed, 0 insertions, 0 deletions