AP_HAL: correct neopixel bitwidth

This commit is contained in:
Andy Piper 2023-11-11 21:54:00 +00:00 committed by Andrew Tridgell
parent df7c432c2e
commit 204a993963
1 changed files with 1 additions and 0 deletions

View File

@ -390,6 +390,7 @@ public:
// neopixel does not use pulse widths at all // neopixel does not use pulse widths at all
static constexpr uint32_t PROFI_BIT_0_TICKS = 7; static constexpr uint32_t PROFI_BIT_0_TICKS = 7;
static constexpr uint32_t PROFI_BIT_1_TICKS = 14; 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 // suitably long LED output period to support high LED counts
static constexpr uint32_t LED_OUTPUT_PERIOD_US = 10000; static constexpr uint32_t LED_OUTPUT_PERIOD_US = 10000;