diff options
Diffstat (limited to 'keyboards/converter/adb_usb')
-rw-r--r-- | keyboards/converter/adb_usb/adb.c | 6 | ||||
-rw-r--r-- | keyboards/converter/adb_usb/rev1/info.json | 4 | ||||
-rw-r--r-- | keyboards/converter/adb_usb/rev1/rules.mk | 5 | ||||
-rw-r--r-- | keyboards/converter/adb_usb/rev2/info.json | 4 | ||||
-rw-r--r-- | keyboards/converter/adb_usb/rev2/rules.mk | 5 |
5 files changed, 11 insertions, 13 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/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 |