diff options
author | Nicholas Corgan <nick.corgan@ettus.com> | 2016-06-17 09:09:25 -0700 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2016-06-17 11:37:45 -0700 |
commit | aa1665958756ab02342bb13c41f14aec6f0ef3f4 (patch) | |
tree | b25c4f9807448449771ef2e6131d37c7caec4d12 /host/lib/usrp_clock/octoclock/octoclock_uart.hpp | |
parent | 56e987d41cf8468291d3f680a4ac10fead22095e (diff) | |
download | uhd-aa1665958756ab02342bb13c41f14aec6f0ef3f4.tar.gz uhd-aa1665958756ab02342bb13c41f14aec6f0ef3f4.tar.bz2 uhd-aa1665958756ab02342bb13c41f14aec6f0ef3f4.zip |
octoclock: bugfixes, bumped firmware compat number to 4
* host: consistency in setting packet sequence numbers
* firmware: populate packet length field when setting GPSDO cache
* both: logic for dealing with mismatching compatibility numbers
Reviewed-By: Michael West <michael.west@ettus.com>
Reviewed-By: Martin Braun <martin.braun@ettus.com>
Diffstat (limited to 'host/lib/usrp_clock/octoclock/octoclock_uart.hpp')
-rw-r--r-- | host/lib/usrp_clock/octoclock/octoclock_uart.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/host/lib/usrp_clock/octoclock/octoclock_uart.hpp b/host/lib/usrp_clock/octoclock/octoclock_uart.hpp index 05d1bb121..d7a77288f 100644 --- a/host/lib/usrp_clock/octoclock/octoclock_uart.hpp +++ b/host/lib/usrp_clock/octoclock/octoclock_uart.hpp @@ -1,5 +1,5 @@ // -// Copyright 2014 Ettus Research LLC +// Copyright 2014,2016 Ettus Research LLC // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -45,6 +45,7 @@ private: gpsdo_cache_state_t _device_state; std::vector<boost::uint8_t> _cache; std::string _rxbuff; + boost::uint32_t _sequence; void _update_cache(); char _getchar(); |