mirror of
https://github.com/PaulStoffregen/Tlc5940
synced 2025-06-27 10:27:48 +02:00
Merge pull request #20 from h4yn0nnym0u5e/warningfix/TD158
Fix warnings raised by gcc toolchain 11.3.1
This commit is contained in:
commit
73fa88476a
@ -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