From 516d7bbfcdb387e5bbab2b821628db43a8571b8f Mon Sep 17 00:00:00 2001 From: Dario Pagani Date: Sat, 30 Jan 2021 21:32:25 +0100 Subject: replaced wrong subfix --- hid-tminit.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'hid-tminit.h') diff --git a/hid-tminit.h b/hid-tminit.h index 2e38ecc..04b0cf9 100644 --- a/hid-tminit.h +++ b/hid-tminit.h @@ -26,7 +26,7 @@ static const unsigned int setup_arr_sizes[] = { * must be used when preparing USB packets * and vice-versa */ -struct th_wheel_info { +struct tm_wheel_info { uint16_t wheel_type; /** @@ -42,7 +42,7 @@ struct th_wheel_info { * Known wheels. * Note: TMX does not work as it requires 2 control packets */ -static const struct th_wheel_info th_wheels_infos[] = { +static const struct tm_wheel_info tm_wheels_infos[] = { {0x0306, 0x0006, "Thrustmaster T150RS"}, {0x0206, 0x0005, "Thrustmaster T300RS"}, {0x0204, 0x0005, "Thrustmaster T300 Ferrari Alcantara Edition"}, @@ -50,7 +50,7 @@ static const struct th_wheel_info th_wheels_infos[] = { {0x0407, 0x0001, "Thrustmaster TMX"} }; -static const uint8_t th_wheels_infos_length = 5; +static const uint8_t tm_wheels_infos_length = 5; /** * This structs contains (in little endian) the response data -- cgit v1.3