Skip to content

Commit

Permalink
Fix hci cmd num, fix spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
xerpi committed Jan 25, 2022
1 parent 2018d03 commit e8cc919
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,6 @@ modules.order
Module.symvers
Mkfile.old
dkms.conf

# Other
*.zip
2 changes: 1 addition & 1 deletion include/hci.h
Original file line number Diff line number Diff line change
Expand Up @@ -778,7 +778,7 @@ typedef struct
/* No return parameter(s) */

#define HCI_OCF_IO_CAPABILITY_REP 0x002b
#define HCI_CMD_IO_CAPABILITY_REP 0x042a
#define HCI_CMD_IO_CAPABILITY_REP 0x042b
typedef struct
{
bdaddr_t bdaddr; /* remote address */
Expand Down
2 changes: 1 addition & 1 deletion include/input_device.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ void input_devices_tick(void);
/** Used by input devices **/

bool input_devices_add(void *usrdata, const input_device_ops_t *ops,
input_device_t **assigned_input_device);
input_device_t **assigned_input_device);
void input_devices_remove(input_device_t *input_device);

/** Used by fake Wiimotes and fake Wiimote manager **/
Expand Down
2 changes: 1 addition & 1 deletion source/input_device.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ void input_devices_init(void)
}

bool input_devices_add(void *usrdata, const input_device_ops_t *ops,
input_device_t **assigned_input_device)
input_device_t **assigned_input_device)
{
/* Find a free input device slot */
for (int i = 0; i < ARRAY_SIZE(input_devices); i++) {
Expand Down

0 comments on commit e8cc919

Please sign in to comment.