diff options
| author | skullY <skullydazed@gmail.com> | 2019-08-30 11:19:03 -0700 |
|---|---|---|
| committer | skullydazed <skullydazed@users.noreply.github.com> | 2019-08-30 15:01:52 -0700 |
| commit | b624f32f944acdc59dcb130674c09090c5c404cb (patch) | |
| tree | bc13adbba137d122d9a2c2fb2fafcbb08ac10e25 /tmk_core/protocol/adb.h | |
| parent | 61af76a10d00aba185b8338604171de490a13e3b (diff) | |
| download | qmk_firmware-b624f32f944acdc59dcb130674c09090c5c404cb.tar.gz qmk_firmware-b624f32f944acdc59dcb130674c09090c5c404cb.zip | |
clang-format changes
Diffstat (limited to 'tmk_core/protocol/adb.h')
| -rw-r--r-- | tmk_core/protocol/adb.h | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/tmk_core/protocol/adb.h b/tmk_core/protocol/adb.h index b4b3633cf..7d37485fc 100644 --- a/tmk_core/protocol/adb.h +++ b/tmk_core/protocol/adb.h | |||
| @@ -41,16 +41,12 @@ POSSIBILITY OF SUCH DAMAGE. | |||
| 41 | #include <stdint.h> | 41 | #include <stdint.h> |
| 42 | #include <stdbool.h> | 42 | #include <stdbool.h> |
| 43 | 43 | ||
| 44 | #if !(defined(ADB_PORT) && \ | 44 | #if !(defined(ADB_PORT) && defined(ADB_PIN) && defined(ADB_DDR) && defined(ADB_DATA_BIT)) |
| 45 | defined(ADB_PIN) && \ | 45 | # error "ADB port setting is required in config.h" |
| 46 | defined(ADB_DDR) && \ | ||
| 47 | defined(ADB_DATA_BIT)) | ||
| 48 | # error "ADB port setting is required in config.h" | ||
| 49 | #endif | 46 | #endif |
| 50 | 47 | ||
| 51 | #define ADB_POWER 0x7F | 48 | #define ADB_POWER 0x7F |
| 52 | #define ADB_CAPS 0x39 | 49 | #define ADB_CAPS 0x39 |
| 53 | |||
| 54 | 50 | ||
| 55 | // ADB host | 51 | // ADB host |
| 56 | void adb_host_init(void); | 52 | void adb_host_init(void); |
| @@ -62,5 +58,4 @@ void adb_host_kbd_led(uint8_t led); | |||
| 62 | void adb_mouse_task(void); | 58 | void adb_mouse_task(void); |
| 63 | void adb_mouse_init(void); | 59 | void adb_mouse_init(void); |
| 64 | 60 | ||
| 65 | |||
| 66 | #endif | 61 | #endif |
