diff --git a/examples/ipv6/slip-radio/slip-radio.c b/examples/ipv6/slip-radio/slip-radio.c index d1b84a1ee..42ec17628 100644 --- a/examples/ipv6/slip-radio/slip-radio.c +++ b/examples/ipv6/slip-radio/slip-radio.c @@ -60,12 +60,12 @@ int packet_pos; static int slip_radio_cmd_handler(const uint8_t *data, int len); -#ifdef CONTIKI_TARGET_SKY -int cmd_handler_cc2420(const uint8_t *data, int len); -#elif CONTIKI_TARGET_NOOLIBERRY +#if CONTIKI_TARGET_NOOLIBERRY int cmd_handler_rf230(const uint8_t *data, int len); #elif CONTIKI_TARGET_ECONOTAG int cmd_handler_mc1322x(const uint8_t *data, int len); +#else /* Leave CC2420 as default */ +int cmd_handler_cc2420(const uint8_t *data, int len); #endif /* CONTIKI_TARGET */ /*---------------------------------------------------------------------------*/