aboutsummaryrefslogtreecommitdiffstats
path: root/firmware/fx2/common/usb_common.c
diff options
context:
space:
mode:
authorMoritz Fischer <moritz.fischer@ettus.com>2012-10-18 11:24:28 -0700
committerJosh Blum <josh@joshknows.com>2012-10-19 16:45:50 -0700
commit99c9949eb1bbc9f33c838b43890754c816a23033 (patch)
tree65ce91c94b1c0f5900dc934f983ab04e2038707b /firmware/fx2/common/usb_common.c
parent5cb9779da40491b06157596b06422f704a58c7d0 (diff)
downloaduhd-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/usb_common.c')
0 files changed, 0 insertions, 0 deletions