mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-05-12 11:42:13 -04:00
Remove CaptureThread LED control.
This commit is contained in:
parent
eeb4645242
commit
56a7b841cb
1 changed files with 1 additions and 8 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue