fixed ADCResponse

This commit is contained in:
thewhobox 2023-04-04 20:42:33 +02:00
parent 1d7e2889ff
commit d8d01ace33

View File

@ -1150,7 +1150,7 @@ void ApplicationLayer::individualIndication(HopCountType hopType, Priority prior
case ADCRead:
{
//Since we don't have an adc for bus voltage, we just send zero as readCount
uint8_t channelNr = tsap & 0b111111;
uint8_t channelNr = data[0] & 0b111111;
this->adcReadResponse(AckRequested, priority, hopType, tsap, secCtrl, channelNr, 0, 0);
break;
}