Update PM3_FPC_MAX_DATA to 2048
Increase maximum data size for FPC from 240 to 2048 bytes. Signed-off-by: Niel Nielsen <nieldk@gmail.com>
This commit is contained in:
1 parent
1c8a1c1c95
commit
96e13303c8
1 file changed
+1
-4
+1
-4
@@ -35,10 +35,7 @@
|
||||
// the bootloader only speaks OLD
|
||||
#define PM3_CMD_DATA_SIZE_OLD 512
|
||||
|
||||
// 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
|
||||
// device advertises and sends when replying via FPC. USB is unaffected.
|
||||
#define PM3_FPC_MAX_DATA 240
|
||||
#define PM3_FPC_MAX_DATA 2048
|
||||
|
||||
typedef struct {
|
||||
uint64_t cmd;
|
||||
|
||||
Reference in new issue
Block a user