aboutsummaryrefslogtreecommitdiffstats
path: root/demos/3rdparty/notepad-2/main.c
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2018-06-23 13:02:07 +1000
committerinmarket <andrewh@inmarket.com.au>2018-06-23 13:02:07 +1000
commit41271d632b74f5cf47c30d3b699eb6b2786f2136 (patch)
tree78bcb729c6d6177ca598f28908fefd186c50e9b6 /demos/3rdparty/notepad-2/main.c
parent3b97fb798e96514057bcf17263c1e5dbdcd7da26 (diff)
downloaduGFX-41271d632b74f5cf47c30d3b699eb6b2786f2136.tar.gz
uGFX-41271d632b74f5cf47c30d3b699eb6b2786f2136.tar.bz2
uGFX-41271d632b74f5cf47c30d3b699eb6b2786f2136.zip
Added new type definitions - moving towards V3.0
Diffstat (limited to 'demos/3rdparty/notepad-2/main.c')
-rw-r--r--demos/3rdparty/notepad-2/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/3rdparty/notepad-2/main.c b/demos/3rdparty/notepad-2/main.c
index 05481b18..ec9acd0c 100644
--- a/demos/3rdparty/notepad-2/main.c
+++ b/demos/3rdparty/notepad-2/main.c
@@ -81,13 +81,13 @@ int main(void) {
gfxInit();
/* Calibrate the touchscreen */
- ginputSetMouseCalibrationRoutines(0, NULL, tsCalibRead, FALSE);
+ ginputSetMouseCalibrationRoutines(0, NULL, tsCalibRead, gFalse);
ginputGetMouse(0);
// Set the color scheme
nSetColorScheme(schemeDefault);
- while (TRUE) {
+ while (1) {
gfxThreadWait(nLaunchNotepadApp());
gdispSetClip(0, 0, gdispGetWidth(), gdispGetHeight());