diff --git a/core/dev/radio.h b/core/dev/radio.h index f2a19411c..1d52a3f6e 100644 --- a/core/dev/radio.h +++ b/core/dev/radio.h @@ -42,7 +42,7 @@ * * This file is part of the Contiki operating system. * - * $Id: radio.h,v 1.5 2007/05/25 08:05:24 adamdunkels Exp $ + * $Id: radio.h,v 1.6 2009/11/13 08:59:22 fros4943 Exp $ */ /** @@ -75,6 +75,12 @@ struct radio_driver { int (* off)(void); }; +/* Generic radio return values. */ +enum { + RADIO_TX_OK, + RADIO_TX_ERR, +}; + #endif /* __RADIO_H__ */ /** @} */ diff --git a/core/net/mac/mac.h b/core/net/mac/mac.h index 3f93b5bc8..71db50011 100644 --- a/core/net/mac/mac.h +++ b/core/net/mac/mac.h @@ -28,7 +28,7 @@ * * This file is part of the Contiki operating system. * - * $Id: mac.h,v 1.5 2009/06/22 11:14:11 nifi Exp $ + * $Id: mac.h,v 1.6 2009/11/13 08:59:22 fros4943 Exp $ */ /** @@ -68,5 +68,10 @@ struct mac_driver { int (* off)(int keep_radio_on); }; +/* Generic MAC return values. */ +enum { + MAC_TX_OK, + MAC_TX_ERR, +}; #endif /* __MAC_H__ */