mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-22 10:30:13 +00:00
Made SFD timestamps configurable via external definition
This commit is contained in:
parent
058ef029e4
commit
808116ff56
@ -26,7 +26,7 @@
|
|||||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||||
* SUCH DAMAGE.
|
* SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
* @(#)$Id: cc2420-arch.c,v 1.7 2010/01/19 20:35:41 adamdunkels Exp $
|
* @(#)$Id: cc2420-arch.c,v 1.8 2010/05/10 11:32:44 nifi Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <io.h>
|
#include <io.h>
|
||||||
@ -38,7 +38,9 @@
|
|||||||
#include "dev/spi.h"
|
#include "dev/spi.h"
|
||||||
#include "dev/cc2420.h"
|
#include "dev/cc2420.h"
|
||||||
|
|
||||||
|
#ifndef CONF_SFD_TIMESTAMPS
|
||||||
#define CONF_SFD_TIMESTAMPS 0
|
#define CONF_SFD_TIMESTAMPS 0
|
||||||
|
#endif /* CONF_SFD_TIMESTAMPS */
|
||||||
|
|
||||||
#ifdef CONF_SFD_TIMESTAMPS
|
#ifdef CONF_SFD_TIMESTAMPS
|
||||||
#include "cc2420-arch-sfd.h"
|
#include "cc2420-arch-sfd.h"
|
||||||
|
Loading…
Reference in New Issue
Block a user