Separate weather and sgd, bc of baseband size limit

This commit is contained in:
HTotoo
2023-12-09 22:01:15 +01:00
parent 28d89fbb88
commit 76cd0e1771
13 changed files with 341 additions and 27 deletions
+2 -3
View File
@@ -32,10 +32,9 @@
#include "message.hpp"
#include "dsp_decimate.hpp"
#include "fprotos/weatherprotos.hpp"
#include "fprotos/subghzdprotos.hpp"
class WeatherProcessor : public BasebandProcessor {
class SubGhzDProcessor : public BasebandProcessor {
public:
void execute(const buffer_c8_t& buffer) override;
void on_message(const Message* const message) override;
@@ -65,7 +64,7 @@ class WeatherProcessor : public BasebandProcessor {
uint32_t cnt = 0;
uint32_t tm = 0;
FProtoListGeneral* protoList = NULL; // holds all the protocols we can parse
FProtoListGeneral* protoList = new SubGhzDProtos(); // holds all the protocols we can parse
void configure(const SubGhzFPRxConfigureMessage& message);
/* NB: Threads should be the last members in the class definition. */