From 2e7d0c198e95c378c6c075bfbddb36fb20364f3a Mon Sep 17 00:00:00 2001 From: yellows8 Date: Tue, 24 Mar 2020 22:23:58 -0400 Subject: [PATCH] Minor adjustment for the ring-con example. --- hid/ring-con/source/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hid/ring-con/source/main.c b/hid/ring-con/source/main.c index cd042b7..923d424 100644 --- a/hid/ring-con/source/main.c +++ b/hid/ring-con/source/main.c @@ -19,7 +19,7 @@ int main(int argc, char **argv) // take a look at the graphics/opengl set of examples, which uses EGL instead. consoleInit(NULL); - printf("\x1b[1;1HPress PLUS to exit."); + printf(CONSOLE_ESC(1;1H)"Press PLUS to exit."); hidScanInput(); // This needs to be used at least once before ringconCreate() since it uses hidGetControllerType() internally. This is only called here since ringconCreate() is called before the main-loop in this example.