Skip to content

Commit

Permalink
AP_HAL: make NeoPixel high-low proportions match for 0 and 1
Browse files Browse the repository at this point in the history
  • Loading branch information
andyp1per committed Apr 27, 2024
1 parent 338f492 commit d57f7c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/AP_HAL/RCOutput.h
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ class AP_HAL::RCOutput {

// 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;
Expand Down

0 comments on commit d57f7c9

Please sign in to comment.