diff --git a/examples/sky/rssi-scanner.c b/examples/sky/rssi-scanner.c index ff6cbe680..9f728626e 100644 --- a/examples/sky/rssi-scanner.c +++ b/examples/sky/rssi-scanner.c @@ -28,7 +28,7 @@ * * This file is part of the Contiki operating system. * - * $Id: rssi-scanner.c,v 1.2 2009/04/25 22:38:00 joxe Exp $ + * $Id: rssi-scanner.c,v 1.3 2011/01/12 20:00:48 joxe Exp $ */ /** @@ -57,8 +57,8 @@ set_frq(int c) /* fine graied channel - can we even read other channels with CC2420 ? */ f = c + 302 + 0x4000; - FASTSPI_SETREG(CC2420_FSCTRL, f); - FASTSPI_STROBE(CC2420_SRXON); + CC2420_WRITE_REG(CC2420_FSCTRL, f); + CC2420_STROBE(CC2420_SRXON); } static void