diff options
author | Martin Braun <martin.braun@ettus.com> | 2016-08-18 16:29:43 -0700 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2016-08-18 16:29:43 -0700 |
commit | bab99a289f3fdc6a3897d1a599d8d795e35d919f (patch) | |
tree | 5189bd1623b249a1b8db5aaccf9f170600994050 /host | |
parent | 358b1fc3a7a0090aee5532f4ff20b06f2ad2d75f (diff) | |
download | uhd-bab99a289f3fdc6a3897d1a599d8d795e35d919f.tar.gz uhd-bab99a289f3fdc6a3897d1a599d8d795e35d919f.tar.bz2 uhd-bab99a289f3fdc6a3897d1a599d8d795e35d919f.zip |
utils: Added missing newline to query_gpsdo_sensor output
Diffstat (limited to 'host')
-rw-r--r-- | host/utils/query_gpsdo_sensors.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/host/utils/query_gpsdo_sensors.cpp b/host/utils/query_gpsdo_sensors.cpp index 7c5728e39..7420e62e9 100644 --- a/host/utils/query_gpsdo_sensors.cpp +++ b/host/utils/query_gpsdo_sensors.cpp @@ -112,12 +112,12 @@ int UHD_SAFE_MAIN(int argc, char *argv[]){ //Verify GPS sensors are present (i.e. EEPROM has been burnt) std::vector<std::string> sensor_names = usrp->get_mboard_sensor_names(0); - if(std::find(sensor_names.begin(), sensor_names.end(), "gps_locked") == sensor_names.end()) { - std::cout << boost::format("\ngps_locked sensor not found. This could mean that you have not installed the GPSDO correctly.\n\n"); - std::cout << boost::format("Visit one of these pages if the problem persists:\n"); - std::cout << boost::format(" * N2X0/E1X0: http://files.ettus.com/manual/page_gpsdo.html"); - std::cout << boost::format(" * X3X0: http://files.ettus.com/manual/page_gpsdo_x3x0.html\n\n"); - exit(EXIT_FAILURE); + if (std::find(sensor_names.begin(), sensor_names.end(), "gps_locked") == sensor_names.end()) { + std::cout << boost::format("\ngps_locked sensor not found. This could mean that you have not installed the GPSDO correctly.\n\n"); + std::cout << boost::format("Visit one of these pages if the problem persists:\n"); + std::cout << boost::format(" * N2X0/E1X0: http://files.ettus.com/manual/page_gpsdo.html\n"); + std::cout << boost::format(" * X3X0: http://files.ettus.com/manual/page_gpsdo_x3x0.html\n\n"); + return EXIT_FAILURE; } // Explicitly set time source to gpsdo |