aboutsummaryrefslogtreecommitdiffstats
path: root/demos/modules/gwin/checkbox
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2014-02-19 07:45:47 +1000
committerinmarket <andrewh@inmarket.com.au>2014-02-19 07:45:47 +1000
commit6d372f13528f44919ec193d03248d55a53484968 (patch)
tree66f6ba33c6bcfed2b5b3846cf1f309e9b7e715e6 /demos/modules/gwin/checkbox
parent03914d2d2b438062d3062e2c3a588d53d3040cff (diff)
parent37966ff16d923bbca53c9464815cb49cbd7fc3be (diff)
downloaduGFX-6d372f13528f44919ec193d03248d55a53484968.tar.gz
uGFX-6d372f13528f44919ec193d03248d55a53484968.tar.bz2
uGFX-6d372f13528f44919ec193d03248d55a53484968.zip
Merge branch 'master' into freertos
Diffstat (limited to 'demos/modules/gwin/checkbox')
-rw-r--r--demos/modules/gwin/checkbox/demo.mk3
-rw-r--r--demos/modules/gwin/checkbox/main.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/demos/modules/gwin/checkbox/demo.mk b/demos/modules/gwin/checkbox/demo.mk
new file mode 100644
index 00000000..8e6edf46
--- /dev/null
+++ b/demos/modules/gwin/checkbox/demo.mk
@@ -0,0 +1,3 @@
+DEMODIR = $(GFXLIB)/demos/modules/gwin/checkbox
+GFXINC += $(DEMODIR)
+GFXSRC += $(DEMODIR)/main.c
diff --git a/demos/modules/gwin/checkbox/main.c b/demos/modules/gwin/checkbox/main.c
index 51f96518..b6cef40b 100644
--- a/demos/modules/gwin/checkbox/main.c
+++ b/demos/modules/gwin/checkbox/main.c
@@ -81,7 +81,7 @@ int main(void) {
case GEVENT_GWIN_CHECKBOX:
if (((GEventGWinCheckbox*)pe)->checkbox == ghCheckbox1) {
// The state of our checkbox has changed
- printf("Checkbox state: %d\r\n", ((GEventGWinCheckbox*)pe)->isChecked);
+ //printf("Checkbox state: %d\r\n", ((GEventGWinCheckbox*)pe)->isChecked);
}
break;