diff options
author | Stefan Kerkmann <karlk90@pm.me> | 2021-09-17 13:12:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-17 12:12:20 +0100 |
commit | efde8d657ac43d7b007437caa72dee96e149e94a (patch) | |
tree | 3052347a00d4d170dea85324ffe50fcd127fdb40 /platforms/chibios | |
parent | c060ab4e6432c0a71adfa0634ea9fe2e5fcb747f (diff) |
Use opendrain pin with external pullup again (#14474)
Diffstat (limited to 'platforms/chibios')
-rw-r--r-- | platforms/chibios/drivers/ws2812_pwm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platforms/chibios/drivers/ws2812_pwm.c b/platforms/chibios/drivers/ws2812_pwm.c index 54eac7b5ae..48d81cc876 100644 --- a/platforms/chibios/drivers/ws2812_pwm.c +++ b/platforms/chibios/drivers/ws2812_pwm.c @@ -46,7 +46,7 @@ # endif #else # if defined(USE_GPIOV1) -# define WS2812_OUTPUT_MODE PAL_MODE_ALTERNATE_PUSHPULL +# define WS2812_OUTPUT_MODE PAL_MODE_ALTERNATE_OPENDRAIN # else # define WS2812_OUTPUT_MODE PAL_MODE_ALTERNATE(WS2812_PWM_PAL_MODE) | PAL_OUTPUT_TYPE_OPENDRAIN | PAL_OUTPUT_SPEED_HIGHEST | PAL_PUPDR_FLOATING # endif |