diff options
author | Ryan <fauxpark@gmail.com> | 2022-09-10 06:36:39 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-09 21:36:39 +0100 |
commit | f20883fef1bc9980d86682a05f763f12679b8c45 (patch) | |
tree | 1214de04c58195052dc826c208ce0aa15b93b432 /drivers/bluetooth/rn42.h | |
parent | a18aab4c3c025fdc3d315a18a97a2215361ebafc (diff) |
RN42 driver: small cleanups (#18310)
* RN42 driver: small cleanups
* Include header
* Fix mouse report per RN42 UG
* Spacing for consistency
Diffstat (limited to 'drivers/bluetooth/rn42.h')
-rw-r--r-- | drivers/bluetooth/rn42.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/bluetooth/rn42.h b/drivers/bluetooth/rn42.h index 4747759111..89b716bfcd 100644 --- a/drivers/bluetooth/rn42.h +++ b/drivers/bluetooth/rn42.h @@ -14,6 +14,8 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ +#include <stdint.h> + #include "report.h" void rn42_init(void); @@ -22,4 +24,4 @@ void rn42_send_keyboard(report_keyboard_t *report); void rn42_send_mouse(report_mouse_t *report); -void rn42_send_consumer(uint16_t data); +void rn42_send_consumer(uint16_t usage); |