From 223c2b3f5b337f1b0c3a44b79d9936adb087f74b Mon Sep 17 00:00:00 2001 From: Mark Haslinghuis Date: Fri, 12 May 2023 18:56:52 +0200 Subject: [PATCH] Fix bidirectional dshot on F7 (#12796) --- src/main/drivers/dshot_bitbang_decode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/drivers/dshot_bitbang_decode.c b/src/main/drivers/dshot_bitbang_decode.c index ab82649f3..3d85c851c 100644 --- a/src/main/drivers/dshot_bitbang_decode.c +++ b/src/main/drivers/dshot_bitbang_decode.c @@ -51,7 +51,7 @@ uint16_t bbBuffer[134]; #define DSHOT_TELEMETRY_START_MARGIN 10 -static unsigned int preambleSkip = 0; +static uint8_t preambleSkip = 0; typedef struct bitBandWord_s { uint32_t value; -- 2.11.4.GIT