hubmartin / WS2812B_STM32F3

WS2812 DMA library with low RAM needs. Up to 16 paralel outputs and thousands of LEDs on each of them
MIT License
60 stars 15 forks source link

Cannot compile the code... #8

Open newguy opened 2 years ago

newguy commented 2 years ago

This lib is having problem compiling in stm32ide. Two errors

initialization discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]

'ws2812b_set_pixel' declared 'static' but never defined [-Wunused-function]

dogualpay commented 2 years ago

See https://stackoverflow.com/questions/24515505/assignment-discards-volatile-qualifier-from-pointer-target-type and https://stackoverflow.com/questions/15681442/function-declared-static-but-never-defined

These topics should be enough to fix your problems.