mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-12 16:06:59 +00:00
fix setsaddr
This commit is contained in:
parent
d80fd440b6
commit
b533d4b12d
1 changed files with 1 additions and 1 deletions
|
|
@ -46,7 +46,7 @@
|
|||
|
||||
int ieee802154_setsaddr(int fd, uint16_t saddr)
|
||||
{
|
||||
int ret = ioctl(fd, MAC854IOCSCHAN, (unsigned long)saddr );
|
||||
int ret = ioctl(fd, MAC854IOCSSADDR, (unsigned long)saddr );
|
||||
if (ret<0)
|
||||
{
|
||||
printf("MAC854IOCSSADDR failed\n");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue