diff --git a/platform/cc2530dk/contiki-conf.h b/platform/cc2530dk/contiki-conf.h index bae8c34ad..9713ca56e 100644 --- a/platform/cc2530dk/contiki-conf.h +++ b/platform/cc2530dk/contiki-conf.h @@ -64,10 +64,6 @@ /* Code Shortcuts */ /* - * When set, the RF driver is no longer a contiki process and the RX ISR is - * disabled. Instead of polling the radio process when data arrives, we - * periodically check for data by directly invoking the driver from main() - * When set, this directive also configures the following bypasses: * - process_post_synch() in tcpip_input() (we call packet_input()) * - process_post_synch() in tcpip_uipcall (we call the relevant pthread) diff --git a/platform/cc2530dk/contiki-main.c b/platform/cc2530dk/contiki-main.c index e5b89a682..bbf469dff 100644 --- a/platform/cc2530dk/contiki-main.c +++ b/platform/cc2530dk/contiki-main.c @@ -254,7 +254,6 @@ main(void) watchdog_periodic(); r = process_run(); } while(r > 0); -#if SHORTCUTS_CONF_NETSTACK len = NETSTACK_RADIO.pending_packet(); if(len) { packetbuf_clear(); @@ -264,7 +263,6 @@ main(void) NETSTACK_RDC.input(); } } -#endif #if LPM_MODE #if (LPM_MODE==LPM_MODE_PM2)