fix minor typos

This commit is contained in:
darren siepka 2018-06-29 23:38:41 +01:00
parent 757256bbb7
commit a124f4d6b1
1 changed files with 4 additions and 4 deletions

View File

@ -984,12 +984,12 @@ void loop()
else if (configPage9.caninput_sel[currentStatus.current_caninchannel] == 2) //if current input channel is enabled as analog local pin else if (configPage9.caninput_sel[currentStatus.current_caninchannel] == 2) //if current input channel is enabled as analog local pin
{ {
//read analog channel specified //read analog channel specified
canin[currentStatus.current_caninchannel] = readAuxanalog(configPage9.Auxinpin[currentStatus.current_caninchannel]); currentStatus.canin[currentStatus.current_caninchannel] = readAuxanalog(configPage9.Auxinpin[currentStatus.current_caninchannel]);
} }
else if (configPage9.caninput_sel[currentStatus.current_caninchannel] == 3) //if current input channel is enabled as digital local pin else if (configPage9.caninput_sel[currentStatus.current_caninchannel] == 3) //if current input channel is enabled as digital local pin
{ {
//read digital channel specified //read digital channel specified
canin[currentStatus.current_caninchannel] = readAuxdigital(configPage9.Auxinpin[currentStatus.current_caninchannel]); currentStatus.canin[currentStatus.current_caninchannel] = readAuxdigital(configPage9.Auxinpin[currentStatus.current_caninchannel]);
} }
} }
@ -1015,12 +1015,12 @@ void loop()
else if (configPage9.caninput_sel[currentStatus.current_caninchannel] == 2) //if current input channel is enabled as analog local pin else if (configPage9.caninput_sel[currentStatus.current_caninchannel] == 2) //if current input channel is enabled as analog local pin
{ {
//read analog channel specified //read analog channel specified
canin[currentStatus.current_caninchannel] = readAuxanalog(configPage9.Auxinpin[currentStatus.current_caninchannel]); currentStatus.canin[currentStatus.current_caninchannel] = readAuxanalog(configPage9.Auxinpin[currentStatus.current_caninchannel]);
} }
else if (configPage9.caninput_sel[currentStatus.current_caninchannel] == 3) //if current input channel is enabled as digital local pin else if (configPage9.caninput_sel[currentStatus.current_caninchannel] == 3) //if current input channel is enabled as digital local pin
{ {
//read digital channel specified //read digital channel specified
canin[currentStatus.current_caninchannel] = readAuxdigital(configPage9.Auxinpin[currentStatus.current_caninchannel]); currentStatus.canin[currentStatus.current_caninchannel] = readAuxdigital(configPage9.Auxinpin[currentStatus.current_caninchannel]);
} }
} }
#endif #endif