mirror of https://github.com/ArduPilot/ardupilot
AP_HAL: correct neopixel bitwidth
This commit is contained in:
parent
df7c432c2e
commit
204a993963
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue