Use opendrain pin with external pullup again (#14474)

This commit is contained in:
Stefan Kerkmann 2021-09-17 13:12:20 +02:00 committed by GitHub
parent c060ab4e64
commit efde8d657a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -46,7 +46,7 @@
# endif # endif
#else #else
# if defined(USE_GPIOV1) # if defined(USE_GPIOV1)
# define WS2812_OUTPUT_MODE PAL_MODE_ALTERNATE_PUSHPULL # define WS2812_OUTPUT_MODE PAL_MODE_ALTERNATE_OPENDRAIN
# else # else
# define WS2812_OUTPUT_MODE PAL_MODE_ALTERNATE(WS2812_PWM_PAL_MODE) | PAL_OUTPUT_TYPE_OPENDRAIN | PAL_OUTPUT_SPEED_HIGHEST | PAL_PUPDR_FLOATING # define WS2812_OUTPUT_MODE PAL_MODE_ALTERNATE(WS2812_PWM_PAL_MODE) | PAL_OUTPUT_TYPE_OPENDRAIN | PAL_OUTPUT_SPEED_HIGHEST | PAL_PUPDR_FLOATING
# endif # endif