Use software timers to trigger telemetry processing

This commit is contained in:
Raphael Coeffic
2022-03-25 16:50:00 +01:00
parent 7d4c814215
commit 59191f37c3
5 changed files with 57 additions and 33 deletions
+1 -2
View File
@@ -25,7 +25,7 @@
#include "../fifo.h"
#include "../pulses/pxx.h"
class ModuleFifo : public Fifo<uint8_t, PXX2_FRAME_MAXLENGTH> {
class ModuleFifo : public Fifo<uint8_t, INTMODULE_FIFO_SIZE> {
public:
bool getFrame(uint8_t * frame)
{
@@ -74,7 +74,6 @@ class ModuleFifo : public Fifo<uint8_t, PXX2_FRAME_MAXLENGTH> {
return ((crc >> 8) == crcLow) && ((crc & 0xFF) == crcHigh);
}
uint32_t errors;
};
#endif