From e8e096463068681e09b8bef62f15b0b4dec50a8c Mon Sep 17 00:00:00 2001 From: Tyler Potyondy Date: Thu, 2 Jan 2025 18:05:43 -0800 Subject: [PATCH] [15.4] Set Address Syscall Fix set short address syscall command number was mistakenly copied during the libtock-sync rewrite --- libtock/net/syscalls/ieee802154_syscalls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libtock/net/syscalls/ieee802154_syscalls.c b/libtock/net/syscalls/ieee802154_syscalls.c index 6fb840109..2398fe291 100644 --- a/libtock/net/syscalls/ieee802154_syscalls.c +++ b/libtock/net/syscalls/ieee802154_syscalls.c @@ -33,7 +33,7 @@ returncode_t libtock_ieee802154_command_status(void) { } returncode_t libtock_ieee802154_command_set_address_short(uint16_t addr_short) { - syscall_return_t com = command(DRIVER_NUM_IEEE802154, COMMAND_STATUS, addr_short, 0); + syscall_return_t com = command(DRIVER_NUM_IEEE802154, COMMAND_SET_ADDR_SHORT, addr_short, 0); return tock_command_return_novalue_to_returncode(com); }