summaryrefslogtreecommitdiffstats
path: root/quantum/quantum.h
diff options
context:
space:
mode:
authorNick Brassel <nick@tzarc.org>2021-02-15 08:56:13 +1100
committerGitHub <noreply@github.com>2021-02-15 08:56:13 +1100
commitf53e41ac81662a560a299a23c7863dd2f618a1f8 (patch)
treefcdaf9afd383e537571cc53ef644ba9504e274ec /quantum/quantum.h
parentc27a778281824423a324d04276d291f06b49b1ae (diff)
Add support for analog USBPD on STM32G4xx. (#11824)
* Add support for analog USBPD on STM32G4xx. * Split up to a list of driver types, allow for custom.
Diffstat (limited to 'quantum/quantum.h')
-rw-r--r--quantum/quantum.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/quantum/quantum.h b/quantum/quantum.h
index 370a65fe04..b7bf5be312 100644
--- a/quantum/quantum.h
+++ b/quantum/quantum.h
@@ -193,6 +193,10 @@ extern layer_state_t layer_state;
# include "wpm.h"
#endif
+#ifdef USBPD_ENABLE
+# include "usbpd.h"
+#endif
+
// Function substitutions to ease GPIO manipulation
#if defined(__AVR__)
typedef uint8_t pin_t;