Skip to content

Commit ce4fe99

Browse files
committed
reduce buffer size
1 parent b21572b commit ce4fe99

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

main.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@
2323
#define SPI_MISO 4
2424
#define SPI_MOSI 3
2525
#define SPI_SCK 2
26-
#define MAX_BUFFER_SIZE 68000
26+
#define MAX_BUFFER_SIZE 1024
2727
#define MAX_OPBUF_SIZE 1024
28-
#define SERIAL_BUFFER_SIZE 68000
28+
#define SERIAL_BUFFER_SIZE 1024
2929

3030
// Define a global operation buffer and a pointer to track the current position
3131
uint8_t opbuf[MAX_OPBUF_SIZE];

0 commit comments

Comments
 (0)