summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXelus22 <17491233+Xelus22@users.noreply.github.com>2022-05-17 22:00:26 +1000
committerGitHub <noreply@github.com>2022-05-17 13:00:26 +0100
commit654baebb2c3e1706a20c985dfde35a9b7bd6958a (patch)
treefe6cd39b31cb7c5f4996e5d8d7eedb1e10b24175
parente9e83b4da73e5594b1f864d78529e85aa5ebefe9 (diff)
fix non-working builds (#17123)
-rw-r--r--keyboards/xelus/pachi/rgb/rev1/config.h9
-rw-r--r--keyboards/xelus/pachi/rgb/rev2/config.h4
2 files changed, 8 insertions, 5 deletions
diff --git a/keyboards/xelus/pachi/rgb/rev1/config.h b/keyboards/xelus/pachi/rgb/rev1/config.h
index e6cf1756bd..2711b5c7a8 100644
--- a/keyboards/xelus/pachi/rgb/rev1/config.h
+++ b/keyboards/xelus/pachi/rgb/rev1/config.h
@@ -21,7 +21,7 @@
#define PRODUCT_ID 0x5052 // "PR"
#define DEVICE_VER 0x0001
#define MANUFACTURER Xelus
-#define PRODUCT Xelus Pachi RGB Rev 1
+#define PRODUCT Xelus Pachi RGB Rev1
/* key matrix size */
#define MATRIX_ROWS 6
@@ -45,8 +45,8 @@
#define LOCKING_RESYNC_ENABLE
// I2C setup
-#define I2C1_SCL 8
-#define I2C1_SDA 9
+#define I2C1_SCL_PIN B8
+#define I2C1_SDA_PIN B9
#define I2C1_SCL_PAL_MODE 4
#define I2C1_SDA_PAL_MODE 4
#define I2C1_TIMINGR_PRESC 0U
@@ -58,6 +58,9 @@
// I2C EEPROM
#define EEPROM_I2C_24LC64
+// More EEPROM for layers
+#define DYNAMIC_KEYMAP_EEPROM_MAX_ADDR 8191
+
// RGB Matrix defines
#define DRIVER_ADDR_1 0b0110000
diff --git a/keyboards/xelus/pachi/rgb/rev2/config.h b/keyboards/xelus/pachi/rgb/rev2/config.h
index a9240da6bb..35a4cf238f 100644
--- a/keyboards/xelus/pachi/rgb/rev2/config.h
+++ b/keyboards/xelus/pachi/rgb/rev2/config.h
@@ -45,8 +45,8 @@
#define LOCKING_RESYNC_ENABLE
// I2C setup
-#define I2C1_SCL 6
-#define I2C1_SDA 7
+#define I2C1_SCL_PIN B6
+#define I2C1_SDA_PIN B7
#define I2C1_SCL_PAL_MODE 4
#define I2C1_SDA_PAL_MODE 4
#define I2C1_TIMINGR_PRESC 0U