aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJoel Bodenmann <joel@unormal.org>2014-06-25 23:04:44 +0200
committerJoel Bodenmann <joel@unormal.org>2014-06-25 23:04:44 +0200
commitb55fa551e367ec4ce927970fd551b5055bc80c25 (patch)
tree7c74ed29a42a6945f37aaabc5b67cd6adbf62d3e /src
parent124e0fcc19919c83ae76aede59d48f010c0a1dc8 (diff)
downloaduGFX-b55fa551e367ec4ce927970fd551b5055bc80c25.tar.gz
uGFX-b55fa551e367ec4ce927970fd551b5055bc80c25.tar.bz2
uGFX-b55fa551e367ec4ce927970fd551b5055bc80c25.zip
macro typo
Diffstat (limited to 'src')
-rw-r--r--src/gwin/class_gwin.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gwin/class_gwin.h b/src/gwin/class_gwin.h
index 61a27447..995121b7 100644
--- a/src/gwin/class_gwin.h
+++ b/src/gwin/class_gwin.h
@@ -98,7 +98,7 @@ typedef struct gwinVMT {
void (*ToggleOn) (GWidgetObject *gw, uint16_t role); // @< Process toggle on events (optional)
};
#endif
- #if GINPUT_NEED_TOGGLE
+ #if GINPUT_NEED_DIAL
struct {
uint16_t dialroles; // @< The roles supported for dials (0->dialroles-1)
void (*DialAssign) (GWidgetObject *gw, uint16_t role, uint16_t instance); // @< Test the role and save the dial instance handle (optional)