summaryrefslogtreecommitdiff
path: root/keyboards/converter/adb_usb
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/converter/adb_usb')
-rw-r--r--keyboards/converter/adb_usb/adb.c6
-rw-r--r--keyboards/converter/adb_usb/matrix.c4
-rw-r--r--keyboards/converter/adb_usb/rev1/info.json4
-rw-r--r--keyboards/converter/adb_usb/rev1/rules.mk5
-rw-r--r--keyboards/converter/adb_usb/rev2/info.json4
-rw-r--r--keyboards/converter/adb_usb/rev2/rules.mk5
6 files changed, 13 insertions, 15 deletions
diff --git a/keyboards/converter/adb_usb/adb.c b/keyboards/converter/adb_usb/adb.c
index 28f14c9fe8..c05bbb53ca 100644
--- a/keyboards/converter/adb_usb/adb.c
+++ b/keyboards/converter/adb_usb/adb.c
@@ -238,15 +238,15 @@ void adb_host_kbd_led(uint8_t led) {
}
#ifdef ADB_PSW_BIT
-static inline void psw_lo() {
+static inline void psw_lo(void) {
ADB_DDR |= (1 << ADB_PSW_BIT);
ADB_PORT &= ~(1 << ADB_PSW_BIT);
}
-static inline void psw_hi() {
+static inline void psw_hi(void) {
ADB_PORT |= (1 << ADB_PSW_BIT);
ADB_DDR &= ~(1 << ADB_PSW_BIT);
}
-static inline bool psw_in() {
+static inline bool psw_in(void) {
ADB_PORT |= (1 << ADB_PSW_BIT);
ADB_DDR &= ~(1 << ADB_PSW_BIT);
return ADB_PIN & (1 << ADB_PSW_BIT);
diff --git a/keyboards/converter/adb_usb/matrix.c b/keyboards/converter/adb_usb/matrix.c
index e6a4921960..20479eb466 100644
--- a/keyboards/converter/adb_usb/matrix.c
+++ b/keyboards/converter/adb_usb/matrix.c
@@ -76,7 +76,7 @@ void matrix_init(void)
// debug_mouse = true;
// print("debug enabled.\n");
- matrix_init_quantum();
+ matrix_init_kb();
}
#ifdef ADB_MOUSE_ENABLE
@@ -241,7 +241,7 @@ uint8_t matrix_scan(void)
extra_key = key1<<8 | 0xFF; // process in a separate call
}
- matrix_scan_quantum();
+ matrix_scan_kb();
return 1;
}
diff --git a/keyboards/converter/adb_usb/rev1/info.json b/keyboards/converter/adb_usb/rev1/info.json
new file mode 100644
index 0000000000..4369a04103
--- /dev/null
+++ b/keyboards/converter/adb_usb/rev1/info.json
@@ -0,0 +1,4 @@
+{
+ "processor": "atmega32u4",
+ "bootloader": "caterina"
+}
diff --git a/keyboards/converter/adb_usb/rev1/rules.mk b/keyboards/converter/adb_usb/rev1/rules.mk
index cf663a7ed6..e69de29bb2 100644
--- a/keyboards/converter/adb_usb/rev1/rules.mk
+++ b/keyboards/converter/adb_usb/rev1/rules.mk
@@ -1,5 +0,0 @@
-# MCU name
-MCU = atmega32u4
-
-# Bootloader selection
-BOOTLOADER = caterina
diff --git a/keyboards/converter/adb_usb/rev2/info.json b/keyboards/converter/adb_usb/rev2/info.json
new file mode 100644
index 0000000000..dd190d18ee
--- /dev/null
+++ b/keyboards/converter/adb_usb/rev2/info.json
@@ -0,0 +1,4 @@
+{
+ "processor": "atmega32u2",
+ "bootloader": "atmel-dfu"
+}
diff --git a/keyboards/converter/adb_usb/rev2/rules.mk b/keyboards/converter/adb_usb/rev2/rules.mk
index 6ab81f6b12..e69de29bb2 100644
--- a/keyboards/converter/adb_usb/rev2/rules.mk
+++ b/keyboards/converter/adb_usb/rev2/rules.mk
@@ -1,5 +0,0 @@
-# MCU name
-MCU = atmega32u2
-
-# Bootloader selection
-BOOTLOADER = atmel-dfu