File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -142,7 +142,7 @@ impl VoltageSensor<Error> for Isl68224 {
142
142
143
143
impl TempSensor < Error > for Isl68224 {
144
144
fn read_temperature ( & self ) -> Result < Celsius , Error > {
145
- let t = pmbus_rail_read ! ( self . device, self . rail, READ_TEMPERATURE_1 ) ?;
145
+ let t = pmbus_rail_read ! ( self . device, self . rail, READ_TEMPERATURE_2 ) ?;
146
146
Ok ( Celsius ( t. get ( ) ?. 0 ) )
147
147
}
148
148
}
Original file line number Diff line number Diff line change @@ -173,7 +173,7 @@ impl VoltageSensor<Error> for Raa229618 {
173
173
174
174
impl TempSensor < Error > for Raa229618 {
175
175
fn read_temperature ( & self ) -> Result < Celsius , Error > {
176
- let t = pmbus_rail_read ! ( self . device, self . rail, READ_TEMPERATURE_1 ) ?;
176
+ let t = pmbus_rail_read ! ( self . device, self . rail, READ_TEMPERATURE_2 ) ?;
177
177
Ok ( Celsius ( t. get ( ) ?. 0 ) )
178
178
}
179
179
}
You can’t perform that action at this time.
0 commit comments