AP_HAL: make NeoPixel high-low proportions match for 0 and 1

This commit is contained in:
Andy Piper 2024-04-27 10:45:49 +01:00 committed by Andrew Tridgell
parent 3951d23f3a
commit 18d834ea3f
1 changed files with 1 additions and 1 deletions

View File

@ -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;