diff options
| author | Tectu <joel@unormal.org> | 2012-12-16 08:58:59 -0800 |
|---|---|---|
| committer | Tectu <joel@unormal.org> | 2012-12-16 08:58:59 -0800 |
| commit | 4743790cd40832205f701a280acd622cd003a9fd (patch) | |
| tree | 088919aae5e2673621f6090dc79adac862c8c8a6 /src/ginput/toggle.c | |
| parent | 09fc35864aa695cc46dcb95ed3951a365622b709 (diff) | |
| parent | f31a1f7f4aeb09bc09d49944daaf2f38fddd94e7 (diff) | |
| download | uGFX-4743790cd40832205f701a280acd622cd003a9fd.tar.gz uGFX-4743790cd40832205f701a280acd622cd003a9fd.tar.bz2 uGFX-4743790cd40832205f701a280acd622cd003a9fd.zip | |
Merge pull request #26 from inmarket/master
Many tidyups and restructure.
Diffstat (limited to 'src/ginput/toggle.c')
| -rw-r--r-- | src/ginput/toggle.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/ginput/toggle.c b/src/ginput/toggle.c index 890ac1dc..3b2e98bf 100644 --- a/src/ginput/toggle.c +++ b/src/ginput/toggle.c @@ -27,12 +27,11 @@ */
#include "ch.h"
#include "hal.h"
-#include "gtimer.h"
-#include "ginput.h"
+#include "gfx.h"
-#if GINPUT_NEED_TOGGLE || defined(__DOXYGEN__)
+#if (GFX_USE_GINPUT && GINPUT_NEED_TOGGLE) || defined(__DOXYGEN__)
-#include "lld/ginput/toggle.h"
+#include "ginput/lld/toggle.h"
#define GINPUT_TOGGLE_ISON 0x01
#define GINPUT_TOGGLE_INVERT 0x02
@@ -163,5 +162,5 @@ void ginputToggleWakeupI(void) { gtimerJabI(&ToggleTimer);
}
-#endif /* GINPUT_NEED_TOGGLE */
+#endif /* GFX_USE_GINPUT && GINPUT_NEED_TOGGLE */
/** @} */
|
