clang
This commit is contained in:
parent
7f128c5286
commit
51e09235a2
3 changed files with 4 additions and 4 deletions
|
@ -222,7 +222,7 @@ void xap_send(xap_token_t token, uint8_t response_flags, const void *data, size_
|
|||
}
|
||||
|
||||
void xap_receive_base(const void *data) {
|
||||
const uint8_t *u8data = (const uint8_t *)data;
|
||||
const uint8_t * u8data = (const uint8_t *)data;
|
||||
xap_request_header_t *header = (xap_request_header_t *)&u8data[0];
|
||||
if (header->length <= (XAP_BUFFER_SIZE - sizeof(xap_request_header_t))) {
|
||||
xap_receive(header->token, &u8data[sizeof(xap_request_header_t)], header->length);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue