Skip to content
Snippets Groups Projects
Commit 220855bf authored by ha7ilm's avatar ha7ilm
Browse files

thread id error fixed

parent 9ff0b7b8
Branches
Tags
No related merge requests found
...@@ -138,7 +138,7 @@ def spectrum_thread_function(): ...@@ -138,7 +138,7 @@ def spectrum_thread_function():
dsp.set_fft_size(cfg.fft_size) dsp.set_fft_size(cfg.fft_size)
dsp.set_fft_fps(cfg.fft_fps) dsp.set_fft_fps(cfg.fft_fps)
sleep_sec=0.87/cfg.fft_fps sleep_sec=0.87/cfg.fft_fps
print "[openwebrx-spectrum] Spectrum thread initialized successfully. Thread id:", ctypes.CDLL('/lib/i386-linux-gnu/libc.so.6').syscall(224) print "[openwebrx-spectrum] Spectrum thread initialized successfully."
dsp.start() dsp.start()
print "[openwebrx-spectrum] Spectrum thread started." print "[openwebrx-spectrum] Spectrum thread started."
while True: while True:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment