tests/pkg_ucglib: add missing function declaration

This commit is contained in:
Francisco Molina 2021-12-07 09:13:17 +01:00
parent 6bb78e544e
commit d6ae3705c0
2 changed files with 5 additions and 0 deletions

View File

@ -20,6 +20,7 @@ endif
# features depend on output type
ifeq ($(TEST_OUTPUT),2)
CFLAGS += -DTHREAD_STACKSIZE_MAIN=48*1024
USEMODULE += ucglib_sdl
endif

View File

@ -61,6 +61,10 @@
#include "logo.h"
#if TEST_OUTPUT == TEST_OUTPUT_SDL
int ucg_sdl_get_key(void);
#endif
int main(void)
{
uint32_t screen = 0;