diff options
author | inmarket <andrewh@inmarket.com.au> | 2018-11-03 12:29:30 +1000 |
---|---|---|
committer | inmarket <andrewh@inmarket.com.au> | 2018-11-03 12:29:30 +1000 |
commit | 8a9ed5195b3345635533b6150b9303abbaf5adf3 (patch) | |
tree | b57c4580a50b261e75a19e53124acb3670d47b6f /demos/3rdparty/notepad-2/notepadCore.c | |
parent | 7c5a6c928fa7129cf754c9c73c5c7ae39372ba9d (diff) | |
download | uGFX-8a9ed5195b3345635533b6150b9303abbaf5adf3.tar.gz uGFX-8a9ed5195b3345635533b6150b9303abbaf5adf3.tar.bz2 uGFX-8a9ed5195b3345635533b6150b9303abbaf5adf3.zip |
Tidy u gfxSem, gfxMutex and various Macros by converting to new types gSem, gMutex etc
Diffstat (limited to 'demos/3rdparty/notepad-2/notepadCore.c')
-rw-r--r-- | demos/3rdparty/notepad-2/notepadCore.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/demos/3rdparty/notepad-2/notepadCore.c b/demos/3rdparty/notepad-2/notepadCore.c index 4662a9ba..ae1b4645 100644 --- a/demos/3rdparty/notepad-2/notepadCore.c +++ b/demos/3rdparty/notepad-2/notepadCore.c @@ -2,7 +2,7 @@ * File: notepadCore.c * * This file is a part of the Notepad demo application for ChibiOS/GFX - * Copyright © 2013, Kumar Abhishek [abhishek.kakkar@edaboard.com]. + * Copyright 2013, Kumar Abhishek [abhishek.kakkar@edaboard.com]. * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -43,7 +43,7 @@ (ev.y >= ncoreDrawingArea->y) && (ev.y <= (ncoreDrawingArea->y + ncoreDrawingArea->height))) /* This is the drawing core */ -static DECLARE_THREAD_STACK(waDrawThread, NCORE_THD_STACK_SIZE); +static GFX_THREAD_STACK(waDrawThread, NCORE_THD_STACK_SIZE); static gU8 nPenWidth = 1; static gU8 nMode = NCORE_MODE_DRAW; @@ -127,7 +127,7 @@ static void draw_line(gCoord x0, gCoord y0, gCoord x1, gCoord y1) { } /* Core thread */ -static DECLARE_THREAD_FUNCTION(ncoreDrawThread, msg) { +static GFX_THREAD_FUNCTION(ncoreDrawThread, msg) { GEventMouse ev, evPrev; gCoord dx, dy; |