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 {
142142
143143impl TempSensor < Error > for Isl68224 {
144144 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 ) ?;
146146 Ok ( Celsius ( t. get ( ) ?. 0 ) )
147147 }
148148}
Original file line number Diff line number Diff line change @@ -173,7 +173,7 @@ impl VoltageSensor<Error> for Raa229618 {
173173
174174impl TempSensor < Error > for Raa229618 {
175175 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 ) ?;
177177 Ok ( Celsius ( t. get ( ) ?. 0 ) )
178178 }
179179}
You can’t perform that action at this time.
0 commit comments