Fix compilation of Watchy_Tetris

Inheriting the constructor is enough, no need to declare another
constructor that does not compile.
pull/159/head
Batchyx 2022-04-20 18:09:03 +02:00
parent 6e9a6a8c05
commit ccef29a679
2 changed files with 1 additions and 4 deletions

View File

@ -2,8 +2,6 @@
const unsigned char *tetris_nums [10] = {tetris0, tetris1, tetris2, tetris3, tetris4, tetris5, tetris6, tetris7, tetris8, tetris9};
WatchyTetris::WatchyTetris(){} //constructor
void WatchyTetris::drawWatchFace(){
display.fillScreen(GxEPD_WHITE);
display.drawBitmap(0, 0, tetrisbg, DISPLAY_WIDTH, DISPLAY_HEIGHT, GxEPD_BLACK);

View File

@ -5,9 +5,8 @@
#include "tetris.h"
class WatchyTetris : public Watchy{
using Watchy::Watchy;
public:
WatchyTetris();
using Watchy::Watchy;
void drawWatchFace();
};