From 18d834ea3f89e187825e163e62d1ec54f0ca655f Mon Sep 17 00:00:00 2001 From: Andy Piper Date: Sat, 27 Apr 2024 10:45:49 +0100 Subject: [PATCH] AP_HAL: make NeoPixel high-low proportions match for 0 and 1 --- libraries/AP_HAL/RCOutput.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_HAL/RCOutput.h b/libraries/AP_HAL/RCOutput.h index c4de0473a9..456cab154c 100644 --- a/libraries/AP_HAL/RCOutput.h +++ b/libraries/AP_HAL/RCOutput.h @@ -406,7 +406,7 @@ public: // See WS2812B spec for expected pulse widths static constexpr uint32_t NEOP_BIT_WIDTH_TICKS = 8; - static constexpr uint32_t NEOP_BIT_0_TICKS = 3; + static constexpr uint32_t NEOP_BIT_0_TICKS = 2; static constexpr uint32_t NEOP_BIT_1_TICKS = 6; // neopixel does not use pulse widths at all static constexpr uint32_t PROFI_BIT_0_TICKS = 7;