mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-06-13 04:28:35 +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 "portapack_shared_memory.hpp"
|
||||||
|
|
||||||
#include "hackrf_gpio.hpp"
|
|
||||||
using namespace hackrf::one;
|
|
||||||
|
|
||||||
// StreamOutput ///////////////////////////////////////////////////////////
|
// StreamOutput ///////////////////////////////////////////////////////////
|
||||||
|
|
||||||
class StreamOutput {
|
class StreamOutput {
|
||||||
@ -85,12 +82,8 @@ CaptureThread::~CaptureThread() {
|
|||||||
if( thread ) {
|
if( thread ) {
|
||||||
chThdTerminate(thread);
|
chThdTerminate(thread);
|
||||||
chEvtSignal(thread, EVT_MASK_CAPTURE_THREAD);
|
chEvtSignal(thread, EVT_MASK_CAPTURE_THREAD);
|
||||||
const auto success = chThdWait(thread);
|
chThdWait(thread);
|
||||||
thread = nullptr;
|
thread = nullptr;
|
||||||
|
|
||||||
if( !success ) {
|
|
||||||
led_tx.on();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user