summaryrefslogtreecommitdiff
path: root/tmk_core/protocol/adb.h
diff options
context:
space:
mode:
Diffstat (limited to 'tmk_core/protocol/adb.h')
-rw-r--r--tmk_core/protocol/adb.h13
1 files changed, 4 insertions, 9 deletions
diff --git a/tmk_core/protocol/adb.h b/tmk_core/protocol/adb.h
index b4b3633cf4..7d37485fcd 100644
--- a/tmk_core/protocol/adb.h
+++ b/tmk_core/protocol/adb.h
@@ -41,16 +41,12 @@ POSSIBILITY OF SUCH DAMAGE.
#include <stdint.h>
#include <stdbool.h>
-#if !(defined(ADB_PORT) && \
- defined(ADB_PIN) && \
- defined(ADB_DDR) && \
- defined(ADB_DATA_BIT))
-# error "ADB port setting is required in config.h"
+#if !(defined(ADB_PORT) && defined(ADB_PIN) && defined(ADB_DDR) && defined(ADB_DATA_BIT))
+# error "ADB port setting is required in config.h"
#endif
-#define ADB_POWER 0x7F
-#define ADB_CAPS 0x39
-
+#define ADB_POWER 0x7F
+#define ADB_CAPS 0x39
// ADB host
void adb_host_init(void);
@@ -62,5 +58,4 @@ void adb_host_kbd_led(uint8_t led);
void adb_mouse_task(void);
void adb_mouse_init(void);
-
#endif