diff --git a/tests/driver_at86rf2xx/main.c b/tests/driver_at86rf2xx/main.c index 06c7bf4917..1a5f12f9a7 100644 --- a/tests/driver_at86rf2xx/main.c +++ b/tests/driver_at86rf2xx/main.c @@ -36,7 +36,7 @@ int main(void) /* register the pktdump thread */ puts("Register the packet dump thread for GNRC_NETTYPE_UNDEF packets"); - dump.pid = gnrc_pktdump_getpid(); + dump.pid = gnrc_pktdump_pid; dump.demux_ctx = GNRC_NETREG_DEMUX_CTX_ALL; gnrc_netreg_register(GNRC_NETTYPE_UNDEF, &dump); diff --git a/tests/driver_kw2xrf/main.c b/tests/driver_kw2xrf/main.c index 2591bdfdd0..199e8f9189 100644 --- a/tests/driver_kw2xrf/main.c +++ b/tests/driver_kw2xrf/main.c @@ -32,7 +32,7 @@ int main(void) /* register the pktdump thread */ puts("Register the packet dump thread for GNRC_NETTYPE_UNDEF packets"); - dump.pid = gnrc_pktdump_getpid(); + dump.pid = gnrc_pktdump_pid; dump.demux_ctx = GNRC_NETREG_DEMUX_CTX_ALL; gnrc_netreg_register(GNRC_NETTYPE_UNDEF, &dump); diff --git a/tests/driver_nrfmin/main.c b/tests/driver_nrfmin/main.c index 5dadfc3bd4..15cf9e2070 100644 --- a/tests/driver_nrfmin/main.c +++ b/tests/driver_nrfmin/main.c @@ -41,7 +41,7 @@ int main(void) gnrc_nomac_init(nomac_stack, sizeof(nomac_stack), 5, "nomac", &dev); /* initialize packet dumper */ - netobj.pid = gnrc_pktdump_getpid(); + netobj.pid = gnrc_pktdump_pid; netobj.demux_ctx = GNRC_NETREG_DEMUX_CTX_ALL; gnrc_netreg_register(GNRC_NETTYPE_UNDEF, &netobj); diff --git a/tests/driver_xbee/main.c b/tests/driver_xbee/main.c index bf0641ae67..d9cc6a5f92 100644 --- a/tests/driver_xbee/main.c +++ b/tests/driver_xbee/main.c @@ -35,7 +35,7 @@ int main(void) puts("Xbee S1 device driver test"); /* initialize and register pktdump */ - dump.pid = gnrc_pktdump_getpid(); + dump.pid = gnrc_pktdump_pid; if (dump.pid <= KERNEL_PID_UNDEF) { puts("Error starting pktdump thread"); return -1; diff --git a/tests/slip/main.c b/tests/slip/main.c index a600fa2a54..ee718cf99e 100644 --- a/tests/slip/main.c +++ b/tests/slip/main.c @@ -35,7 +35,7 @@ int main(void) puts("SLIP test"); /* initialize and register pktdump */ - dump.pid = gnrc_pktdump_getpid(); + dump.pid = gnrc_pktdump_pid; dump.demux_ctx = GNRC_NETREG_DEMUX_CTX_ALL; if (dump.pid <= KERNEL_PID_UNDEF) { diff --git a/tests/zep/main.c b/tests/zep/main.c index da9aacbed4..d34bb6131b 100644 --- a/tests/zep/main.c +++ b/tests/zep/main.c @@ -35,7 +35,7 @@ int main(void) puts("ZEP module test"); /* initialize and register pktdump */ - dump.pid = gnrc_pktdump_getpid(); + dump.pid = gnrc_pktdump_pid; if (dump.pid <= KERNEL_PID_UNDEF) { puts("Error starting pktdump thread");