Remove array initialization with single 0 because of compiler compatibility (espressif8266@2.6.3).
This commit is contained in:
@@ -76,7 +76,7 @@ private:
|
||||
uint8_t _userDirection = 0;
|
||||
uint8_t _gameState = 0;
|
||||
Coords _head = {0, 0};
|
||||
Coords _tail[MAX_TAIL_LENGTH] = {0};
|
||||
Coords _tail[MAX_TAIL_LENGTH];
|
||||
Coords _food = {0, 0};
|
||||
unsigned long _lastDrawUpdate = 0;
|
||||
unsigned long _lastButtonClick = 0;
|
||||
|
||||
Reference in New Issue
Block a user