Changed to fix compiler warnings.

This commit is contained in:
Dirk Jahnke 2019-01-30 13:28:30 +01:00
parent 37e8f1bfca
commit 215be19b47
2 changed files with 4 additions and 8 deletions

View File

@ -14,18 +14,12 @@
#define PRINTX(s, v) #define PRINTX(s, v)
#endif #endif
MD_RobotEyes::MD_RobotEyes(void) :
_nextEmotion(E_NEUTRAL), _animState(S_IDLE),
_autoBlink(true), _timeBlinkMinimum(5000)
{
};
void MD_RobotEyes::loadEye(uint8_t module, uint8_t ch) void MD_RobotEyes::loadEye(uint8_t module, uint8_t ch)
{ {
uint8_t buf[EYE_COL_SIZE]; uint8_t buf[EYE_COL_SIZE];
uint8_t size;
size = _M->getChar(ch, EYE_COL_SIZE, buf); _M->getChar(ch, EYE_COL_SIZE, buf);
for (uint8_t i = 0; i < EYE_COL_SIZE; i++) for (uint8_t i = 0; i < EYE_COL_SIZE; i++)
{ {

View File

@ -62,7 +62,9 @@ public:
* *
* Instantiate a new instance of the class. * Instantiate a new instance of the class.
*/ */
MD_RobotEyes(void); MD_RobotEyes(void):
_timeBlinkMinimum(5000), _animState(S_IDLE), _autoBlink(true), _nextEmotion(E_NEUTRAL)
{};
/** /**
* Class Destructor. * Class Destructor.