diff options
| author | Nick Foster <nick@nerdnetworks.org> | 2011-04-08 15:07:28 -0700 | 
|---|---|---|
| committer | Josh Blum <josh@joshknows.com> | 2011-04-29 09:58:54 -0700 | 
| commit | b31cefc5eb7022db4851ad333577b5b6829ca2db (patch) | |
| tree | a9ce88e6695e581b17ef1edbe38a18ba8b13f509 | |
| parent | a4aa89ed5d73b6afa5d2d28d8f2b6cc206baf22d (diff) | |
| download | uhd-b31cefc5eb7022db4851ad333577b5b6829ca2db.tar.gz uhd-b31cefc5eb7022db4851ad333577b5b6829ca2db.tar.bz2 uhd-b31cefc5eb7022db4851ad333577b5b6829ca2db.zip | |
USRP2: enable GPS by default
| -rw-r--r-- | host/lib/usrp/usrp2/mboard_impl.cpp | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/host/lib/usrp/usrp2/mboard_impl.cpp b/host/lib/usrp/usrp2/mboard_impl.cpp index 7a756087a..42ba714a4 100644 --- a/host/lib/usrp/usrp2/mboard_impl.cpp +++ b/host/lib/usrp/usrp2/mboard_impl.cpp @@ -101,9 +101,9 @@ usrp2_mboard_impl::usrp2_mboard_impl(      //contruct the interfaces to mboard perifs      _clock_ctrl = usrp2_clock_ctrl::make(_iface);      _codec_ctrl = usrp2_codec_ctrl::make(_iface); -//    _gps_ctrl = gps_ctrl::make( -//        _iface->get_gps_write_fn(), -//        _iface->get_gps_read_fn()); +    _gps_ctrl = gps_ctrl::make( +        _iface->get_gps_write_fn(), +        _iface->get_gps_read_fn());      //if(_gps_ctrl->gps_detected()) std::cout << "GPS time: " << _gps_ctrl->get_time() << std::endl; | 
