fixed compilation error

This commit is contained in:
joxe 2011-01-12 20:00:48 +00:00
parent ce46b7c6cb
commit 8663cb8921

View file

@ -28,7 +28,7 @@
* *
* This file is part of the Contiki operating system. * 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 ? */ /* fine graied channel - can we even read other channels with CC2420 ? */
f = c + 302 + 0x4000; f = c + 302 + 0x4000;
FASTSPI_SETREG(CC2420_FSCTRL, f); CC2420_WRITE_REG(CC2420_FSCTRL, f);
FASTSPI_STROBE(CC2420_SRXON); CC2420_STROBE(CC2420_SRXON);
} }
static void static void