Temporary boosting the ModuleFifo to 128 bytes
This is to better cope with the CRSF frames that need to contain 64, whereby Fifo has a maximum content length of (N-1).
This commit is contained in:
committed by
Raphael Coeffic
parent
4124d0a950
commit
59f2b5e8b0
@@ -25,7 +25,7 @@
|
|||||||
#include "../fifo.h"
|
#include "../fifo.h"
|
||||||
#include "../pulses/pxx.h"
|
#include "../pulses/pxx.h"
|
||||||
|
|
||||||
class ModuleFifo : public Fifo<uint8_t, PXX2_FRAME_MAXLENGTH> {
|
class ModuleFifo : public Fifo<uint8_t, 2*PXX2_FRAME_MAXLENGTH> {
|
||||||
public:
|
public:
|
||||||
bool getFrame(uint8_t * frame)
|
bool getFrame(uint8_t * frame)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user