mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-08-23 13:08:13 +00:00
Fix baseband thread init order bug for all procs. (#1293)
This commit is contained in:
@@ -33,7 +33,9 @@ class SpectrumPainterProcessor : public BasebandProcessor {
|
||||
|
||||
private:
|
||||
bool configured{false};
|
||||
BasebandThread baseband_thread{3072000, this, NORMALPRIO + 20, baseband::Direction::Transmit};
|
||||
|
||||
/* NB: Threads should be the last members in the class definition. */
|
||||
BasebandThread baseband_thread{3072000, this, baseband::Direction::Transmit};
|
||||
Thread* thread{nullptr};
|
||||
|
||||
protected:
|
||||
|
Reference in New Issue
Block a user