[riot-notifications] [RIOT-OS/RIOT] Cannot assign a pointer in ISR (#16517)

sada45 notifications at github.com
Tue Jun 1 09:31:53 CEST 2021

Thank for your quick reply!
But I not quite sure what's your mean.
The pointer `remotedevice_list` should be initialized at function `remote_device_init()`
A quick runs at `main()` works fine.
int main(void)
	ble_addr_t addr = {0x01, {0x23, 0x45, 0x67, 0x89, 0xAB, 0xCD}};
	remote_device_add(1, "test", 5, &addr);
	printf("name = %s\n", remotedevice_list->next->name);

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210601/cde43d8c/attachment.htm>

More information about the notifications mailing list