Skip to content

Commit 0ef5c42

Browse files
authored
Thermocouple reading issue CH1 Update TCTempProbeClass.cpp
The Class argument was wrong pointing to a wrong pin, it was fixed and tested.
1 parent d9ae3e9 commit 0ef5c42

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/TCTempProbeClass.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ TCTempProbeClass::TCTempProbeClass(PinName tc_cs_pin,
1919
PinName ch_sel0_pin,
2020
PinName ch_sel1_pin,
2121
PinName ch_sel2_pin)
22-
: MAX31855Class(tc_cs_pin), _tc_cs{tc_cs_pin}, _ch_sel0{ch_sel0_pin}, _ch_sel1{ch_sel0_pin}, _ch_sel2{ch_sel2_pin}
22+
: MAX31855Class(tc_cs_pin), _tc_cs{tc_cs_pin}, _ch_sel0{ch_sel0_pin}, _ch_sel1{ch_sel1_pin}, _ch_sel2{ch_sel2_pin}
2323
{ }
2424

2525
TCTempProbeClass::~TCTempProbeClass()
@@ -99,4 +99,4 @@ void TCTempProbeClass::_disable() {
9999
}
100100

101101
TCTempProbeClass MachineControl_TCTempProbe;
102-
/**** END OF FILE ****/
102+
/**** END OF FILE ****/

0 commit comments

Comments
 (0)