summaryrefslogtreecommitdiff
path: root/keyboards/bastardkb/charybdis/3x5/keymaps/drashna/halconf.h
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2022-11-29 19:44:26 +0000
committerQMK Bot <hello@qmk.fm>2022-11-29 19:44:26 +0000
commitd648eb42caa633ab411da93d2bbe9c3eacaa8172 (patch)
treed534ed33cdfac430a19818c514dff90b337b1c8a /keyboards/bastardkb/charybdis/3x5/keymaps/drashna/halconf.h
parentc146563f4b12d8ef1446318a65c61dac1b197b23 (diff)
parent4a87af0e9af046d5fc00d930476920c0c34a57a7 (diff)
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'keyboards/bastardkb/charybdis/3x5/keymaps/drashna/halconf.h')
-rw-r--r--keyboards/bastardkb/charybdis/3x5/keymaps/drashna/halconf.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/keyboards/bastardkb/charybdis/3x5/keymaps/drashna/halconf.h b/keyboards/bastardkb/charybdis/3x5/keymaps/drashna/halconf.h
index bc07c10527..3b254172b4 100644
--- a/keyboards/bastardkb/charybdis/3x5/keymaps/drashna/halconf.h
+++ b/keyboards/bastardkb/charybdis/3x5/keymaps/drashna/halconf.h
@@ -15,11 +15,13 @@
*/
#pragma once
-#define HAL_USE_PWM TRUE
-#define HAL_USE_SERIAL TRUE
-#define HAL_USE_I2C TRUE
-#define HAL_USE_SPI TRUE
-#define SPI_USE_WAIT TRUE
-#define SPI_SELECT_MODE SPI_SELECT_MODE_PAD
+#if defined(KEYBOARD_bastardkb_charybdis_3x5_blackpill)
+# define HAL_USE_PWM TRUE
+# define HAL_USE_SERIAL TRUE
+# define HAL_USE_I2C TRUE
+# define HAL_USE_SPI TRUE
+# define SPI_USE_WAIT TRUE
+# define SPI_SELECT_MODE SPI_SELECT_MODE_PAD
+#endif
#include_next <halconf.h>