aboutsummaryrefslogtreecommitdiff
path: root/main/config.def.h
diff options
context:
space:
mode:
Diffstat (limited to 'main/config.def.h')
-rw-r--r--main/config.def.h20
1 files changed, 15 insertions, 5 deletions
diff --git a/main/config.def.h b/main/config.def.h
index 3d325fe..e9503ed 100644
--- a/main/config.def.h
+++ b/main/config.def.h
@@ -56,11 +56,10 @@
#endif
/** \} */
-#ifndef CFG_LED_PIN
-//! status LED pin
-#define CFG_LED_PIN CYW43_WL_GPIO_LED_PIN
-#endif
-
+/**
+ * \name I2C configuration
+ * \{
+ */
#ifndef CFG_SDA_PIN
//! I^2^C SDA pin
#define CFG_SDA_PIN 16
@@ -69,4 +68,15 @@
//! I^2^C SCL pin
#define CFG_SCL_PIN 17
#endif
+/** \} */
+
+#ifndef CFG_LED_PIN
+//! status LED pin
+#define CFG_LED_PIN CYW43_WL_GPIO_LED_PIN
+#endif
+
+#ifndef CFG_PB_MOD_MAX
+//! maximum number of simultaniously connected puzzle modules
+#define CFG_PB_MOD_MAX 8
+#endif