mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-10-16 15:50:56 +00:00
Remove thread pointer checking.
This commit is contained in:
@@ -40,11 +40,9 @@ RSSIThread::RSSIThread(const tprio_t priority) {
|
||||
}
|
||||
|
||||
RSSIThread::~RSSIThread() {
|
||||
if( thread ) {
|
||||
chThdTerminate(thread);
|
||||
chThdWait(thread);
|
||||
thread = nullptr;
|
||||
}
|
||||
chThdTerminate(thread);
|
||||
chThdWait(thread);
|
||||
thread = nullptr;
|
||||
}
|
||||
|
||||
void RSSIThread::run() {
|
||||
|
Reference in New Issue
Block a user