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