Got rid of (most of) all of the warnings.
This commit is contained in:
@ -4,7 +4,7 @@
|
||||
#include "Effect.h"
|
||||
|
||||
typedef struct {
|
||||
char* name;
|
||||
const char* name;
|
||||
Effect* effect;
|
||||
} EffectEntry;
|
||||
|
||||
|
@ -11,7 +11,7 @@ class AnimationEffect : public Effect {
|
||||
int frame = 0;
|
||||
CRGB background_color;
|
||||
int xOffset, yOffset;
|
||||
long frameSince = 0;
|
||||
unsigned long frameSince = 0;
|
||||
public:
|
||||
AnimationEffect(AnimationData *anim);
|
||||
AnimationEffect(AnimationData *anim, CRGB background_color);
|
||||
|
@ -7,7 +7,7 @@
|
||||
class CycleEffect : public Effect {
|
||||
private:
|
||||
Effect* effect;
|
||||
long effectSince = 0;
|
||||
unsigned long effectSince = 0;
|
||||
public:
|
||||
void changeEffect();
|
||||
|
||||
|
@ -11,9 +11,9 @@ class MatrixEffectColumn {
|
||||
int x, y;
|
||||
int length;
|
||||
Window* window;
|
||||
int speed;
|
||||
uint16_t speed;
|
||||
boolean running;
|
||||
long last_move = 0;
|
||||
unsigned long last_move = 0;
|
||||
public:
|
||||
MatrixEffectColumn();
|
||||
MatrixEffectColumn(Window* win, int xPos);
|
||||
|
Reference in New Issue
Block a user