mirror of
https://github.com/JvanKatwijk/dab-cmdline
synced 2025-10-05 23:52:50 +02:00
editorial changes and changes for better python control
This commit is contained in:
@@ -194,7 +194,7 @@ endif ()
|
||||
../library/includes/backend/data/tdc-datahandler.h
|
||||
../library/includes/backend/data/dab-data.h
|
||||
../library/includes/backend/data/data-processor.h
|
||||
../library/includes/various/fft.h
|
||||
../library/includes/various/fft_handler.h
|
||||
../library/includes/various/dab-params.h
|
||||
../library/includes/various/tii_table.h
|
||||
)
|
||||
@@ -240,7 +240,7 @@ endif ()
|
||||
../library/src/backend/data/mot-data.cpp
|
||||
../library/src/backend/data/dab-data.cpp
|
||||
../library/src/backend/data/data-processor.cpp
|
||||
../library/src/various/fft.cpp
|
||||
../library/src/various/fft_handler.cpp
|
||||
../library/src/various/dab-params.cpp
|
||||
../library/src/various/tii_table.cpp
|
||||
)
|
||||
|
@@ -83,10 +83,13 @@ def syncsignalHandler (b):
|
||||
return;
|
||||
if (b):
|
||||
print ("possible DAB signal detected");
|
||||
noData = 0;
|
||||
signalSet = 1;
|
||||
else:
|
||||
print ("no DAB signal detected, giving up");
|
||||
noData = 1
|
||||
signalSet = 1
|
||||
noData = noData + 1;
|
||||
if noData >= 5.0:
|
||||
print ("no DAB signal detected, giving up");
|
||||
signalSet = 1;
|
||||
|
||||
# the function systemdatahandler is called (once a second) to show
|
||||
# whether we are in sync, the snr and the current frequency offset
|
||||
|
Reference in New Issue
Block a user