* Literal constants.

This commit is contained in:
bg- 2007-04-04 11:46:47 +00:00
parent 478953dcf4
commit 212f455b71
2 changed files with 6 additions and 5 deletions

View file

@ -28,7 +28,7 @@
*
* This file is part of the Contiki operating system.
*
* @(#)$Id: cc2420.h,v 1.3 2006/08/09 17:39:39 bg- Exp $
* @(#)$Id: cc2420.h,v 1.4 2007/04/04 11:46:47 bg- Exp $
*/
#ifndef CC2420_H
@ -128,6 +128,7 @@ void cc2420_input(const struct hdr_802_15 *hdr, u8_t hdr_len,
const u8_t *payload, u8_t payload_len);
/* Is mac far away? remote=1, local=0, don't know=-1. */
enum { REMOTE_MAYBE = -1, REMOTE_NO = 0, REMOTE_YES = 1 };
int cc2420_check_remote(u16_t mac);
void cc2420_recv_ok(uip_ipaddr_t *from);