mirror of
https://github.com/thelsing/knx.git
synced 2025-08-03 13:48:15 +02:00
fixed ADCResponse
This commit is contained in:
parent
1d7e2889ff
commit
d8d01ace33
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user