Enable bitbang ws2812 for f4 (#7571)

This commit is contained in:
Joel Challis 2019-12-09 05:19:58 +00:00 committed by Drashna Jaelre
parent 8984f24f7c
commit b3c7864990

View File

@ -6,7 +6,7 @@
/* Adapted from https://github.com/bigjosh/SimpleNeoPixelDemo/ */ /* Adapted from https://github.com/bigjosh/SimpleNeoPixelDemo/ */
#ifndef NOP_FUDGE #ifndef NOP_FUDGE
# if defined(STM32F1XX) || defined(STM32F1xx) || defined(STM32F0XX) || defined(STM32F0xx) || defined(STM32F3XX) || defined(STM32F3xx) || defined(STM32L0XX) || defined(STM32L0xx) # if defined(STM32F0XX) || defined(STM32F1XX) || defined(STM32F3XX) || defined(STM32F4XX) || defined(STM32L0XX)
# define NOP_FUDGE 0.4 # define NOP_FUDGE 0.4
# else # else
# error("NOP_FUDGE configuration required") # error("NOP_FUDGE configuration required")