Skip to content

Commit d9ae3e9

Browse files
Merge pull request #6 from jcarolinares/jcarolinares/rtd_channel_1_hot_fix
RTD MAX31865Class private _ch_sel1 assignment fixed to channel 1
2 parents 6a1512e + d77f85e commit d9ae3e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)