diff options
| author | MmAaXx500 <viktor.balogh45@gmail.com> | 2024-09-01 16:34:54 +0200 |
|---|---|---|
| committer | MmAaXx500 <viktor.balogh45@gmail.com> | 2024-09-01 17:32:20 +0200 |
| commit | dcbf4f07ae927e9284b53c795496d591fdcc10c2 (patch) | |
| tree | 4b766ccf5b536be0505f5832a3376b7494b91c6d | |
| parent | 760a3bb24312d0feb728008aa2c21543145dc639 (diff) | |
| download | hid-tmff2-dcbf4f07ae927e9284b53c795496d591fdcc10c2.tar.gz hid-tmff2-dcbf4f07ae927e9284b53c795496d591fdcc10c2.zip | |
fix incorrect return type
| -rw-r--r-- | src/tmt300rs/hid-tmt300rs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tmt300rs/hid-tmt300rs.c b/src/tmt300rs/hid-tmt300rs.c index 7d540dc..7f95b8d 100644 --- a/src/tmt300rs/hid-tmt300rs.c +++ b/src/tmt300rs/hid-tmt300rs.c @@ -379,7 +379,7 @@ static uint16_t t300rs_condition_max_saturation(uint16_t effect_type) return 0x7ffc; } -static uint16_t t300rs_condition_effect_type(uint16_t effect_type) +static uint8_t t300rs_condition_effect_type(uint16_t effect_type) { if(effect_type == FF_SPRING) return 0x06; |
