mirror of https://github.com/sqfmi/Watchy.git
Fix compilation of Watchy_Tetris
Inheriting the constructor is enough, no need to declare another constructor that does not compile.pull/159/head
parent
6e9a6a8c05
commit
ccef29a679
|
@ -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);
|
||||
|
|
|
@ -5,9 +5,8 @@
|
|||
#include "tetris.h"
|
||||
|
||||
class WatchyTetris : public Watchy{
|
||||
using Watchy::Watchy;
|
||||
public:
|
||||
WatchyTetris();
|
||||
using Watchy::Watchy;
|
||||
void drawWatchFace();
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue