aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ginput/toggle/Pal/ginput_lld_toggle.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ginput/toggle/Pal/ginput_lld_toggle.c')
-rw-r--r--drivers/ginput/toggle/Pal/ginput_lld_toggle.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/ginput/toggle/Pal/ginput_lld_toggle.c b/drivers/ginput/toggle/Pal/ginput_lld_toggle.c
index 560d11b9..a3a360d8 100644
--- a/drivers/ginput/toggle/Pal/ginput_lld_toggle.c
+++ b/drivers/ginput/toggle/Pal/ginput_lld_toggle.c
@@ -28,13 +28,13 @@
#include "ch.h"
#include "hal.h"
+#include "gfx.h"
#if (GFX_USE_GINPUT && GINPUT_NEED_TOGGLE) /*|| defined(__DOXYGEN__)*/
-// Declare the static members in the following include file
-#define GINPUT_TOGGLE_DECLARE_CONFIG
+#include "ginput/lld/toggle.h"
-#include "lld/ginput/toggle.h"
+GINPUT_TOGGLE_DECLARE_STRUCTURE();
/**
* @brief Initialise the port.