Skip to content

Commit d77f85e

Browse files
committed
RTD MAX31865Class private _ch_sel1 assignment fixed to channel 1
1 parent 6a1512e commit d77f85e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/RTDTempProbeClass.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ RTDTempProbeClass::RTDTempProbeClass(PinName rtd_cs_pin,
2020
PinName ch_sel1_pin,
2121
PinName ch_sel2_pin,
2222
PinName rtd_th_pin)
23-
: MAX31865Class(rtd_cs_pin), _rtd_cs{rtd_cs_pin}, _ch_sel0{ch_sel0_pin}, _ch_sel1{ch_sel0_pin}, _ch_sel2{ch_sel2_pin}, _rtd_th{rtd_th_pin}
23+
: MAX31865Class(rtd_cs_pin), _rtd_cs{rtd_cs_pin}, _ch_sel0{ch_sel0_pin}, _ch_sel1{ch_sel1_pin}, _ch_sel2{ch_sel2_pin}, _rtd_th{rtd_th_pin}
2424
{ }
2525

2626
RTDTempProbeClass::~RTDTempProbeClass()

0 commit comments

Comments
 (0)