File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -206,11 +206,11 @@ static int tloopctrl_raw_event(struct hid_device *hdev,
206
206
ldata -> temp_input [6 ] = le64_to_cpup ((__le64 * ) (data + 30 )); // setpoint
207
207
208
208
ldata -> fan_input [0 ] = le16_to_cpup ((__le16 * ) (data + 34 )); // rpm1
209
- ldata -> fan_input [1 ] = le16_to_cpup ((__le16 * ) (data + 36 )); // rpm2
210
- ldata -> fan_input [2 ] = le16_to_cpup ((__le16 * ) (data + 38 )); // rpm3
211
- ldata -> fan_input [3 ] = le16_to_cpup ((__le16 * ) (data + 40 )); // rpm4
212
- ldata -> fan_input [4 ] = le16_to_cpup ((__le16 * ) (data + 42 )); // rpm5
213
- ldata -> fan_input [5 ] = le16_to_cpup ((__le16 * ) (data + 44 )); // rpm6
209
+ ldata -> fan_input [1 ] = le16_to_cpup ((__le16 * ) (data + 39 )); // rpm2
210
+ ldata -> fan_input [2 ] = le16_to_cpup ((__le16 * ) (data + 44 )); // rpm3
211
+ ldata -> fan_input [3 ] = le16_to_cpup ((__le16 * ) (data + 49 )); // rpm4
212
+ ldata -> fan_input [4 ] = le16_to_cpup ((__le16 * ) (data + 54 )); // rpm5
213
+ ldata -> fan_input [5 ] = le16_to_cpup ((__le16 * ) (data + 59 )); // rpm6
214
214
215
215
ldata -> pwm_input [0 ] = 0 ;
216
216
// ldata->pwm_input[0] = le64_to_cpup((__le64 *) (data + 26)); // fan % (PID)
You can’t perform that action at this time.
0 commit comments