mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-02-28 22:37:21 +00:00
Remove CaptureThread LED control.
This commit is contained in:
parent
eeb4645242
commit
56a7b841cb
@ -23,9 +23,6 @@
|
||||
|
||||
#include "portapack_shared_memory.hpp"
|
||||
|
||||
#include "hackrf_gpio.hpp"
|
||||
using namespace hackrf::one;
|
||||
|
||||
// StreamOutput ///////////////////////////////////////////////////////////
|
||||
|
||||
class StreamOutput {
|
||||
@ -85,12 +82,8 @@ CaptureThread::~CaptureThread() {
|
||||
if( thread ) {
|
||||
chThdTerminate(thread);
|
||||
chEvtSignal(thread, EVT_MASK_CAPTURE_THREAD);
|
||||
const auto success = chThdWait(thread);
|
||||
chThdWait(thread);
|
||||
thread = nullptr;
|
||||
|
||||
if( !success ) {
|
||||
led_tx.on();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user