From bab0c9c5296943f63fb168779088523a02fc7d14 Mon Sep 17 00:00:00 2001 From: Marcelo Bezerra <23555060+mmosca@users.noreply.github.com> Date: Thu, 1 Aug 2024 01:10:10 +0200 Subject: [PATCH] remove test code --- src/main/rx/sbus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/rx/sbus.c b/src/main/rx/sbus.c index 27fa927b9..704279324 100644 --- a/src/main/rx/sbus.c +++ b/src/main/rx/sbus.c @@ -93,7 +93,7 @@ static void sbusDataReceive(uint16_t c, void *data) sbusFrameData->position = 0; sbusFrameData->buffer[sbusFrameData->position++] = (uint8_t)c; sbusFrameData->state = STATE_SBUS_PAYLOAD; - } else if (c == SBUS26_FRAME0_BEGIN_BYTE && false) { + } else if (c == SBUS26_FRAME0_BEGIN_BYTE) { sbusFrameData->position = 0; sbusFrameData->buffer[sbusFrameData->position++] = (uint8_t)c; sbusFrameData->state = STATE_SBUS26_PAYLOAD_LOW; -- 2.11.4.GIT