Increase PM3_FPC_MAX_DATA from 2048 to 240
240 seems the best choise Signed-off-by: Niel Nielsen <nieldk@gmail.com>
This commit is contained in:
1 parent
ef09ab673b
commit
fa7aa4e594
1 file changed
+1
-1
+1
-1
@@ -38,7 +38,7 @@
|
|||||||
// Over the BWM/FPC link the forward buffers (AT32 DMA ring, ESP UART RX) are
|
// Over the BWM/FPC link the forward buffers (AT32 DMA ring, ESP UART RX) are
|
||||||
// small, so a full PM3_CMD_DATA_SIZE frame overruns them. Cap the payload the
|
// small, so a full PM3_CMD_DATA_SIZE frame overruns them. Cap the payload the
|
||||||
// device advertises and sends when replying via FPC. USB is unaffected.
|
// device advertises and sends when replying via FPC. USB is unaffected.
|
||||||
#define PM3_FPC_MAX_DATA 2048
|
#define PM3_FPC_MAX_DATA 240
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
uint64_t cmd;
|
uint64_t cmd;
|
||||||
|
|||||||
Reference in new issue
Block a user