From 38169380d5c5669b694590d72697866d584fdbe0 Mon Sep 17 00:00:00 2001 From: ligenxxxx <59721724+ligenxxxx@users.noreply.github.com> Date: Tue, 2 Apr 2024 11:49:48 +0800 Subject: [PATCH] add timeout for msp_tx --- src/msp_displayport.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/msp_displayport.c b/src/msp_displayport.c index cd87696..02a57a9 100644 --- a/src/msp_displayport.c +++ b/src/msp_displayport.c @@ -101,7 +101,7 @@ void msp_set_inav_osd_canvas(void); void parse_get_osd_canvas(void); void msp_tx(uint8_t c) { - if (msp_tx_en) + if (msp_tx_en || seconds > 3) RS_tx(c); }