diff --git a/src/display_loop.c b/src/display_loop.c index 75d1268..faf47a0 100644 --- a/src/display_loop.c +++ b/src/display_loop.c @@ -36,6 +36,9 @@ #ifdef SMALLANIMATION_COLWALK # include "smallani/colwalk.h" #endif +#ifdef SMALLANIMATION_ROWBOUNCE +# include "smallani/rowbounce.h" +#endif #ifdef SMALLANIMATION_COLBOUNCE # include "smallani/colbounce.h" #endif diff --git a/src/smallani/colbounce.h b/src/smallani/colbounce.h index 2f19a3b..1fd45e2 100644 --- a/src/smallani/colbounce.h +++ b/src/smallani/colbounce.h @@ -1,6 +1,6 @@ -#ifndef ROWBOUNCE_H_ -#define ROWBOUNCE_H_ +#ifndef COLBOUNCE_H_ +#define COLBOUNCE_H_ -void rowbounce(uint8_t times,uint8_t speed); +void colbounce(uint8_t times,uint8_t speed); -#endif /* ROWBOUNCE_H_ */ +#endif /* COLBOUNCE_H_ */ diff --git a/src/smallani/rowbounce.h b/src/smallani/rowbounce.h index 1fd45e2..396bbda 100644 --- a/src/smallani/rowbounce.h +++ b/src/smallani/rowbounce.h @@ -1,6 +1,6 @@ -#ifndef COLBOUNCE_H_ -#define COLBOUNCE_H_ +#ifndef ROWBOUNCE_H_ +#define ROWBOUNCE_H_ -void colbounce(uint8_t times,uint8_t speed); +void rowbounce(uint8_t times, uint8_t speed); -#endif /* COLBOUNCE_H_ */ +#endif /* ROWBOUNCE_H_ */