diff options
Diffstat (limited to 'drivers/bluetooth/rn42.c')
| -rw-r--r-- | drivers/bluetooth/rn42.c | 8 | 
1 files changed, 5 insertions, 3 deletions
| diff --git a/drivers/bluetooth/rn42.c b/drivers/bluetooth/rn42.c index 2ef40bb7e0..5d497cda20 100644 --- a/drivers/bluetooth/rn42.c +++ b/drivers/bluetooth/rn42.c @@ -61,7 +61,9 @@ static inline uint16_t rn42_consumer_usage_to_bitmap(uint16_t usage) {      }  } -void rn42_init(void) { uart_init(RN42_BAUD_RATE); } +void rn42_init(void) { +    uart_init(RN42_BAUD_RATE); +}  void rn42_send_keyboard(report_keyboard_t *report) {      uart_write(0xFD); @@ -81,8 +83,8 @@ void rn42_send_mouse(report_mouse_t *report) {      uart_write(report->buttons);      uart_write(report->x);      uart_write(report->y); -    uart_write(report->v);  // should try sending the wheel v here -    uart_write(report->h);  // should try sending the wheel h here +    uart_write(report->v); // should try sending the wheel v here +    uart_write(report->h); // should try sending the wheel h here      uart_write(0x00);  } | 
