Skip to content

Commit

Permalink
Reduce number of OSD bytes transferred in polled mode
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveCEvans committed Dec 28, 2021
1 parent 5933d96 commit 20e41b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/drivers/max7456.c
Expand Up @@ -205,7 +205,7 @@ static uint8_t shadowBuffer[VIDEO_BUFFER_CHARS_PAL];
//Max bytes to update in one call to max7456DrawScreen()

#define MAX_BYTES2SEND 250
#define MAX_BYTES2SEND_POLLED 25
#define MAX_BYTES2SEND_POLLED 20

static DMA_DATA uint8_t spiBuf[MAX_BYTES2SEND];

Expand Down

0 comments on commit 20e41b5

Please sign in to comment.