mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
Merge pull request https://github.com/RIOT-OS/applications/pull/28 from gebart/pr/sniffer-netreg-api-update
sniffer: Update to follow gnrc_netreg_entry_t API change
This commit is contained in:
commit
ae7c8f5333
@ -101,7 +101,7 @@ int main(void)
|
||||
|
||||
/* start and register rawdump thread */
|
||||
puts("Run the rawdump thread and register it");
|
||||
dump.pid = thread_create(rawdmp_stack, sizeof(rawdmp_stack), RAWDUMP_PRIO,
|
||||
dump.target.pid = thread_create(rawdmp_stack, sizeof(rawdmp_stack), RAWDUMP_PRIO,
|
||||
THREAD_CREATE_STACKTEST, rawdump, NULL, "rawdump");
|
||||
dump.demux_ctx = GNRC_NETREG_DEMUX_CTX_ALL;
|
||||
gnrc_netreg_register(GNRC_NETTYPE_UNDEF, &dump);
|
||||
|
Loading…
Reference in New Issue
Block a user