mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-10-28 05:57:39 +00:00
Fix cmakelint and cpplint reported format errors
This commit is contained in:
@@ -134,18 +134,14 @@ if(GRLIMESDR_FOUND AND NOT TARGET Gnuradio::limesdr)
|
|||||||
|
|
||||||
#check for PPS custom version
|
#check for PPS custom version
|
||||||
file(READ ${GRLIMESDR_INCLUDE_DIR}/limesdr/source.h TMPTXT)
|
file(READ ${GRLIMESDR_INCLUDE_DIR}/limesdr/source.h TMPTXT)
|
||||||
|
|
||||||
string(FIND "${TMPTXT}" "enable_PPS_mode" matchres)
|
string(FIND "${TMPTXT}" "enable_PPS_mode" matchres)
|
||||||
|
|
||||||
message(STATUS ${matchres})
|
message(STATUS ${matchres})
|
||||||
|
|
||||||
if(${matchres} EQUAL -1)
|
if(${matchres} EQUAL -1)
|
||||||
message("Using standard gr-limesdr library ")
|
message("Using standard gr-limesdr library ")
|
||||||
else()
|
else()
|
||||||
set(GRLIMESDR_PPS True)
|
set(GRLIMESDR_PPS True)
|
||||||
message("Using custom gr-limesdr library with PPS support ")
|
message("Using custom gr-limesdr library with PPS support ")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
mark_as_advanced(GRLIMESDR_LIBRARIES GRLIMESDR_INCLUDE_DIR)
|
mark_as_advanced(GRLIMESDR_LIBRARIES GRLIMESDR_INCLUDE_DIR)
|
||||||
|
|||||||
@@ -273,7 +273,6 @@ endif()
|
|||||||
target_compile_definitions(signal_source_adapters PUBLIC -DLimeSDR_PPS=1)
|
target_compile_definitions(signal_source_adapters PUBLIC -DLimeSDR_PPS=1)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
||||||
if(ENABLE_CLANG_TIDY)
|
if(ENABLE_CLANG_TIDY)
|
||||||
if(CLANG_TIDY_EXE)
|
if(CLANG_TIDY_EXE)
|
||||||
set_target_properties(signal_source_adapters
|
set_target_properties(signal_source_adapters
|
||||||
|
|||||||
@@ -23,7 +23,10 @@
|
|||||||
#include <pmt/pmt_sugar.h> // for mp
|
#include <pmt/pmt_sugar.h> // for mp
|
||||||
#include <cmath> // for round
|
#include <cmath> // for round
|
||||||
#include <iostream> // for operator<<
|
#include <iostream> // for operator<<
|
||||||
|
#include <memory>
|
||||||
#include <string> // for string
|
#include <string> // for string
|
||||||
|
#include <vector>
|
||||||
|
|
||||||
|
|
||||||
gnss_sdr_sample_counter::gnss_sdr_sample_counter(
|
gnss_sdr_sample_counter::gnss_sdr_sample_counter(
|
||||||
double _fs,
|
double _fs,
|
||||||
|
|||||||
Reference in New Issue
Block a user