mirror of
https://github.com/thelsing/knx.git
synced 2025-08-03 13:48:15 +02:00
fix
This commit is contained in:
parent
51e83c8210
commit
1d7e2889ff
@ -1148,10 +1148,12 @@ void ApplicationLayer::individualIndication(HopCountType hopType, Priority prior
|
|||||||
_bau.keyWriteAppLayerConfirm(priority, hopType, tsap, secCtrl, data[1]);
|
_bau.keyWriteAppLayerConfirm(priority, hopType, tsap, secCtrl, data[1]);
|
||||||
break;
|
break;
|
||||||
case ADCRead:
|
case ADCRead:
|
||||||
|
{
|
||||||
//Since we don't have an adc for bus voltage, we just send zero as readCount
|
//Since we don't have an adc for bus voltage, we just send zero as readCount
|
||||||
uint8_t channelNr = tsap & 0b111111;
|
uint8_t channelNr = tsap & 0b111111;
|
||||||
this->adcReadResponse(AckRequested, priority, hopType, tsap, secCtrl, channelNr, 0, 0);
|
this->adcReadResponse(AckRequested, priority, hopType, tsap, secCtrl, channelNr, 0, 0);
|
||||||
break;
|
break;
|
||||||
|
}
|
||||||
default:
|
default:
|
||||||
print("Individual-indication: unhandled APDU-Type: ");
|
print("Individual-indication: unhandled APDU-Type: ");
|
||||||
println(apdu.type());
|
println(apdu.type());
|
||||||
|
Loading…
Reference in New Issue
Block a user