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/lufa/bluetooth.c | |
| parent | 61af76a10d00aba185b8338604171de490a13e3b (diff) | |
| download | qmk_firmware-b624f32f944acdc59dcb130674c09090c5c404cb.tar.gz qmk_firmware-b624f32f944acdc59dcb130674c09090c5c404cb.zip | |
clang-format changes
Diffstat (limited to 'tmk_core/protocol/lufa/bluetooth.c')
| -rw-r--r-- | tmk_core/protocol/lufa/bluetooth.c | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/tmk_core/protocol/lufa/bluetooth.c b/tmk_core/protocol/lufa/bluetooth.c index 549606162..5eb52860b 100644 --- a/tmk_core/protocol/lufa/bluetooth.c +++ b/tmk_core/protocol/lufa/bluetooth.c | |||
| @@ -21,16 +21,18 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 21 | #include "debug.h" | 21 | #include "debug.h" |
| 22 | #include "bluetooth.h" | 22 | #include "bluetooth.h" |
| 23 | 23 | ||
| 24 | void bluefruit_keyboard_print_report(report_keyboard_t *report) | 24 | void bluefruit_keyboard_print_report(report_keyboard_t *report) { |
| 25 | { | ||
| 26 | if (!debug_keyboard) return; | 25 | if (!debug_keyboard) return; |
| 27 | dprintf("keys: "); for (int i = 0; i < KEYBOARD_REPORT_KEYS; i++) { debug_hex8(report->keys[i]); dprintf(" "); } | 26 | dprintf("keys: "); |
| 28 | dprintf(" mods: "); debug_hex8(report->mods); | 27 | for (int i = 0; i < KEYBOARD_REPORT_KEYS; i++) { |
| 29 | dprintf(" reserved: "); debug_hex8(report->reserved); | 28 | debug_hex8(report->keys[i]); |
| 29 | dprintf(" "); | ||
| 30 | } | ||
| 31 | dprintf(" mods: "); | ||
| 32 | debug_hex8(report->mods); | ||
| 33 | dprintf(" reserved: "); | ||
| 34 | debug_hex8(report->reserved); | ||
| 30 | dprintf("\n"); | 35 | dprintf("\n"); |
| 31 | } | 36 | } |
| 32 | 37 | ||
| 33 | void bluefruit_serial_send(uint8_t data) | 38 | void bluefruit_serial_send(uint8_t data) { serial_send(data); } \ No newline at end of file |
| 34 | { | ||
| 35 | serial_send(data); | ||
| 36 | } \ No newline at end of file | ||
