mirror of
https://github.com/PaulStoffregen/Tlc5940
synced 2025-06-27 02:17:53 +02:00
Fix warnings raised by gcc toolchain 11.3.1
This commit is contained in:
parent
ac4572cf57
commit
82119a9138
@ -39,7 +39,7 @@ volatile uint16_t tlc_animationPeriodsPerFrame;
|
|||||||
volatile uint16_t tlc_animationPeriodsWait;
|
volatile uint16_t tlc_animationPeriodsWait;
|
||||||
|
|
||||||
volatile void tlc_animationXLATCallback(void);
|
volatile void tlc_animationXLATCallback(void);
|
||||||
void tlc_playAnimation(const uint8_t PROGMEM *animation, uint16_t frames, uint16_t periodsPerFrame);
|
void tlc_playAnimation(const uint8_t /* PROGMEM */ *animation, uint16_t frames, uint16_t periodsPerFrame);
|
||||||
|
|
||||||
/** \addtogroup ExtendedFunctions
|
/** \addtogroup ExtendedFunctions
|
||||||
\code #include "tlc_animations.h" \endcode
|
\code #include "tlc_animations.h" \endcode
|
||||||
@ -55,7 +55,7 @@ void tlc_playAnimation(const uint8_t PROGMEM *animation, uint16_t frames, uint16
|
|||||||
\param periodsPerFrame number of PWM periods to wait between each frame
|
\param periodsPerFrame number of PWM periods to wait between each frame
|
||||||
(0 means play the animation as fast as possible).
|
(0 means play the animation as fast as possible).
|
||||||
The default PWM period for a 16MHz clock is 1.024ms. */
|
The default PWM period for a 16MHz clock is 1.024ms. */
|
||||||
void tlc_playAnimation(const uint8_t PROGMEM *animation, uint16_t frames, uint16_t periodsPerFrame)
|
void tlc_playAnimation(const uint8_t /* PROGMEM */ *animation, uint16_t frames, uint16_t periodsPerFrame)
|
||||||
{
|
{
|
||||||
tlc_currentAnimation = animation;
|
tlc_currentAnimation = animation;
|
||||||
tlc_animationFrames = frames;
|
tlc_animationFrames = frames;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user