diff options
| author | Antonio Ospite <[email protected]> | 2015-02-16 18:12:22 +0100 |
|---|---|---|
| committer | Jiri Kosina <[email protected]> | 2015-02-18 21:36:12 +0100 |
| commit | a85d67b545e9c1e178ecdb159cfa59a45405c22a (patch) | |
| tree | 667083aca540ef42635d093cc0258aab76ddede2 /scripts/gdb/linux/clk.py | |
| parent | 29b691a894f3964b26b8179423a45591fc071eea (diff) | |
HID: sony: Don't use magic numbers in sixaxis_set_operational_usb()
Remove the magic numbers used in sixaxis_set_operational_usb():
- use the already defined SIXAXIS_REPORT_0xF2_SIZE;
- define and use SIXAXIS_REPORT_0xF5_SIZE;
- set the dummy buffer size to accommodate any report that is going to
be requested.
Signed-off-by: Antonio Ospite <[email protected]>
Acked-by: Frank Praznik <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/clk.py')
0 files changed, 0 insertions, 0 deletions