aboutsummaryrefslogtreecommitdiff
path: root/tminit.c
diff options
context:
space:
mode:
Diffstat (limited to 'tminit.c')
-rw-r--r--tminit.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/tminit.c b/tminit.c
index a4798a8..fcf30ef 100644
--- a/tminit.c
+++ b/tminit.c
@@ -68,7 +68,8 @@ static const struct tm_wheel_info tm_wheels_infos[] = {
{0x00, 0x02, 0x0002, "Thrustmaster T500RS"},
{0x02, 0x00, 0x0005, "Thrustmaster T300RS (Missing Attachment)"},
{0x02, 0x03, 0x0005, "Thrustmaster T300RS (F1 attachment)"},
- {0x02, 0x04, 0x0005, "Thrustmaster T300 Ferrari Alcantara Edition"},
+ {0x02, 0x04, 0x0005, "Thrustmaster T300RS Ferrari Alcantara Edition"},
+ {0x02, 0x0a, 0x000b, "Thrustmaster T300RS Ferrari 488 GT3"},
{0x02, 0x06, 0x0005, "Thrustmaster T300RS"},
{0x02, 0x09, 0x0005, "Thrustmaster T300RS (Open Wheel Attachment)"},
{0x03, 0x06, 0x0006, "Thrustmaster T150RS"},
@@ -77,7 +78,8 @@ static const struct tm_wheel_info tm_wheels_infos[] = {
//{0x04, 0x07, 0x0001, "Thrustmaster TMX"}
};
-static const uint8_t tm_wheels_infos_length = 9;
+static const uint8_t tm_wheels_infos_length =
+ sizeof(tm_wheels_infos) / sizeof(struct tm_wheel_info);
/* The control packet to send to wheel */