From e41ec6c078ff92b8bdb12e1196082a7488db69e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miloslav=20=C4=8C=C3=AD=C5=BE?= Date: Sat, 13 Jul 2019 18:43:20 +0200 Subject: [PATCH] Fix teminal demo --- programs/helloTerminal.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/programs/helloTerminal.c b/programs/helloTerminal.c index 3dfaaa3..6c930f8 100644 --- a/programs/helloTerminal.c +++ b/programs/helloTerminal.c @@ -4,6 +4,7 @@ license: CC0 1.0 */ +#include #include // for usleep // we need to define screen resolution before including the library: @@ -102,6 +103,8 @@ int main() { clearScreen(); + S3L_newFrame(); // has to be called before each frame + S3L_drawScene(scene); /* This starts the scene rendering. The drawPixel function will be called to draw it. */ drawScreen();