mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-08-01 11:06:30 -04:00
Fix baseband thread init order bug for all procs. (#1293)
This commit is contained in:
parent
828eb67a52
commit
7bd370b5bc
46 changed files with 226 additions and 174 deletions
|
@ -33,14 +33,11 @@
|
|||
class RDSProcessor : public BasebandProcessor {
|
||||
public:
|
||||
void execute(const buffer_c8_t& buffer) override;
|
||||
|
||||
void on_message(const Message* const msg) override;
|
||||
|
||||
private:
|
||||
uint32_t* rdsdata{};
|
||||
|
||||
BasebandThread baseband_thread{2280000, this, NORMALPRIO + 20, baseband::Direction::Transmit};
|
||||
|
||||
uint16_t message_length{0};
|
||||
int8_t re{0}, im{0};
|
||||
uint8_t mphase{0}, s{0};
|
||||
|
@ -132,6 +129,9 @@ class RDSProcessor : public BasebandProcessor {
|
|||
0, -14, -27, -41, -53, -66, -77, -88,
|
||||
-99, -109, -118, -126, -134, -141, -147, -152,
|
||||
-157, -160, -163, -166, -167, -168, -168, -167};
|
||||
|
||||
/* NB: Threads should be the last members in the class definition. */
|
||||
BasebandThread baseband_thread{2280000, this, baseband::Direction::Transmit};
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue