mirror of
https://github.com/thelsing/knx.git
synced 2025-01-30 00:19:01 +01:00
bugfix
This commit is contained in:
parent
bb954f5b2c
commit
31f8efc516
@ -734,7 +734,7 @@ void ApplicationLayer::memoryExtReadResponse(AckType ack, Priority priority, Hop
|
|||||||
uint8_t* data = apdu.data();
|
uint8_t* data = apdu.data();
|
||||||
data[1] = code;
|
data[1] = code;
|
||||||
data[2] = (memoryAddress >> 16);
|
data[2] = (memoryAddress >> 16);
|
||||||
data[3] = (memoryAddress >> 0);
|
data[3] = (memoryAddress >> 8);
|
||||||
data[4] = (memoryAddress & 0xFF);
|
data[4] = (memoryAddress & 0xFF);
|
||||||
|
|
||||||
memcpy(&data[5], memoryData, number);
|
memcpy(&data[5], memoryData, number);
|
||||||
@ -772,7 +772,7 @@ void ApplicationLayer::memoryExtWriteResponse(AckType ack, Priority priority, Ho
|
|||||||
uint8_t* data = apdu.data();
|
uint8_t* data = apdu.data();
|
||||||
data[1] = code;
|
data[1] = code;
|
||||||
data[2] = (memoryAddress >> 16);
|
data[2] = (memoryAddress >> 16);
|
||||||
data[3] = (memoryAddress >> 0);
|
data[3] = (memoryAddress >> 8);
|
||||||
data[4] = (memoryAddress & 0xFF);
|
data[4] = (memoryAddress & 0xFF);
|
||||||
|
|
||||||
if (withCrc)
|
if (withCrc)
|
||||||
|
Loading…
Reference in New Issue
Block a user