From 204a9939639ac1e52954d69da0f4adf52251a689 Mon Sep 17 00:00:00 2001 From: Andy Piper Date: Sat, 11 Nov 2023 21:54:00 +0000 Subject: [PATCH] AP_HAL: correct neopixel bitwidth --- libraries/AP_HAL/RCOutput.h | 1 + 1 file changed, 1 insertion(+) diff --git a/libraries/AP_HAL/RCOutput.h b/libraries/AP_HAL/RCOutput.h index a42ab430f4..e209dd225b 100644 --- a/libraries/AP_HAL/RCOutput.h +++ b/libraries/AP_HAL/RCOutput.h @@ -390,6 +390,7 @@ public: // neopixel does not use pulse widths at all static constexpr uint32_t PROFI_BIT_0_TICKS = 7; static constexpr uint32_t PROFI_BIT_1_TICKS = 14; + static constexpr uint32_t PROFI_BIT_WIDTH_TICKS = 20; // suitably long LED output period to support high LED counts static constexpr uint32_t LED_OUTPUT_PERIOD_US = 10000;