Fix baseband thread init order bug for all procs. (#1293)

This commit is contained in:
Kyle Reed 2023-07-22 23:54:17 -07:00 committed by GitHub
parent 828eb67a52
commit 7bd370b5bc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
46 changed files with 226 additions and 174 deletions

View file

@ -31,7 +31,8 @@ class NOOPProcessor : public BasebandProcessor {
void execute(const buffer_c8_t& buffer) override;
private:
BasebandThread baseband_thread{1536000, this, NORMALPRIO + 20, baseband::Direction::Transmit};
/* NB: Threads should be the last members in the class definition. */
BasebandThread baseband_thread{1536000, this, baseband::Direction::Transmit};
};
#endif