We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3dc2437 commit ea450e5Copy full SHA for ea450e5
msp_displayport_mux.c
@@ -92,7 +92,8 @@ static void rx_msp_callback(msp_msg_t *msp_message)
92
if(msp_message->cmd == MSP_CMD_DISPLAYPORT) {
93
// This was an MSP DisplayPort message, so buffer it until we get a whole frame.
94
if(fb_cursor > sizeof(frame_buffer)) {
95
- printf("Exhausted frame buffer!\n");
+ printf("Exhausted frame buffer! Resetting...\n");
96
+ fb_cursor = 0;
97
return;
98
}
99
uint16_t size = msp_data_from_msg(message_buffer, msp_message);
0 commit comments