mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
net/wireless: fix compile warning
fix tasking compile warning isssue warnning log: unused variable "IEEE802154_STATUS_STRING" Signed-off-by: gaohedong <gaohedong@xiaomi.com>
This commit is contained in:
parent
74c71145da
commit
de6aac8afb
4 changed files with 4 additions and 4 deletions
|
|
@ -321,7 +321,7 @@ static void assoc_eventcb(FAR struct ieee802154_primitive_s *primitive,
|
|||
else
|
||||
{
|
||||
printf("i8sak: ASSOC.request failed: %s\n",
|
||||
IEEE802154_STATUS_STRING[primitive->u.assocconf.status]);
|
||||
g_ieee802154_status_string[primitive->u.assocconf.status]);
|
||||
i8sak->result = -EAGAIN;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -176,7 +176,7 @@ static void poll_eventcb(FAR struct ieee802154_primitive_s *primitive,
|
|||
else
|
||||
{
|
||||
printf("i8sak: POLL.request failed: %s\n",
|
||||
IEEE802154_STATUS_STRING[primitive->u.pollconf.status]);
|
||||
g_ieee802154_status_string[primitive->u.pollconf.status]);
|
||||
}
|
||||
|
||||
sem_post(&i8sak->sigsem);
|
||||
|
|
|
|||
|
|
@ -200,7 +200,7 @@ static void scan_eventcb(FAR struct ieee802154_primitive_s *primitive,
|
|||
int i;
|
||||
|
||||
printf("\n\ni8sak: Scan complete: %s\n",
|
||||
IEEE802154_STATUS_STRING[scan->status]);
|
||||
g_ieee802154_status_string[scan->status]);
|
||||
|
||||
printf("Scan type: ");
|
||||
|
||||
|
|
|
|||
|
|
@ -278,7 +278,7 @@ static void tx_eventcb(FAR struct ieee802154_primitive_s *primitive,
|
|||
else
|
||||
{
|
||||
printf("i8sak: frame failed to send: %s\n",
|
||||
IEEE802154_STATUS_STRING[primitive->u.dataconf.status]);
|
||||
g_ieee802154_status_string[primitive->u.dataconf.status]);
|
||||
}
|
||||
|
||||
sem_post(&i8sak->sigsem);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue