net/gcoap: fix vera++ code style warnings
This commit is contained in:
parent
1e74280308
commit
c8cd3f0229
@ -103,7 +103,6 @@ static event_queue_t _queue;
|
|||||||
static uint8_t _listen_buf[CONFIG_GCOAP_PDU_BUF_SIZE];
|
static uint8_t _listen_buf[CONFIG_GCOAP_PDU_BUF_SIZE];
|
||||||
static sock_udp_t _sock;
|
static sock_udp_t _sock;
|
||||||
|
|
||||||
|
|
||||||
/* Event loop for gcoap _pid thread. */
|
/* Event loop for gcoap _pid thread. */
|
||||||
static void *_event_loop(void *arg)
|
static void *_event_loop(void *arg)
|
||||||
{
|
{
|
||||||
@ -434,8 +433,9 @@ static void _find_req_memo(gcoap_request_memo_t **memo_ptr, coap_pkt_t *src_pdu,
|
|||||||
unsigned cmplen = coap_get_token_len(src_pdu);
|
unsigned cmplen = coap_get_token_len(src_pdu);
|
||||||
|
|
||||||
for (int i = 0; i < CONFIG_GCOAP_REQ_WAITING_MAX; i++) {
|
for (int i = 0; i < CONFIG_GCOAP_REQ_WAITING_MAX; i++) {
|
||||||
if (_coap_state.open_reqs[i].state == GCOAP_MEMO_UNUSED)
|
if (_coap_state.open_reqs[i].state == GCOAP_MEMO_UNUSED) {
|
||||||
continue;
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
gcoap_request_memo_t *memo = &_coap_state.open_reqs[i];
|
gcoap_request_memo_t *memo = &_coap_state.open_reqs[i];
|
||||||
if (memo->send_limit == GCOAP_SEND_LIMIT_NON) {
|
if (memo->send_limit == GCOAP_SEND_LIMIT_NON) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user