updated bad file info
This commit is contained in:
parent
d6f46bfcaa
commit
06ce414c56
|
@ -26,17 +26,8 @@
|
|||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* This file is part of the Configurable Sensor Network Application
|
||||
* Architecture for sensor nodes running the Contiki operating system.
|
||||
*
|
||||
* $Id: node-id.h,v 1.1 2006/08/21 12:11:16 fros4943 Exp $
|
||||
*
|
||||
* -----------------------------------------------------------------
|
||||
*
|
||||
* Author : Adam Dunkels, Joakim Eriksson, Niclas Finne
|
||||
* Created : 2005-12-09
|
||||
* Updated : $Date: 2006/08/21 12:11:16 $
|
||||
* $Revision: 1.1 $
|
||||
* $Id: node-id.h,v 1.2 2007/11/25 22:48:35 fros4943 Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef __NODE_ID_H__
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
* This file is part of the Configurable Sensor Network Application
|
||||
* Architecture for sensor nodes running the Contiki operating system.
|
||||
*
|
||||
* $Id: printf2log.h,v 1.1 2007/08/23 08:14:30 fros4943 Exp $
|
||||
* $Id: printf2log.h,v 1.2 2007/11/25 22:48:35 fros4943 Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
|
@ -38,6 +38,16 @@
|
|||
|
||||
#include "sys/log.h"
|
||||
|
||||
#define printf(...) { char printf2log_buf[200]; sprintf(printf2log_buf, __VA_ARGS__); log_message(printf2log_buf, ""); }
|
||||
void simlog(const char *message);
|
||||
|
||||
#define MAX_SIZE 256
|
||||
|
||||
#define printf(...) \
|
||||
{ \
|
||||
char printf2log_buf[MAX_SIZE]; \
|
||||
int c = sprintf(printf2log_buf, __VA_ARGS__); \
|
||||
printf2log_buf[c] = 0; \
|
||||
simlog(printf2log_buf); \
|
||||
}
|
||||
|
||||
#endif /* __PRINTF2LOG_H__ */
|
||||
|
|
|
@ -28,14 +28,7 @@
|
|||
*
|
||||
* This file is part of the Contiki operating system.
|
||||
*
|
||||
* $Id: rtimer-arch.c,v 1.1 2007/04/11 12:46:13 fros4943 Exp $
|
||||
*/
|
||||
|
||||
/**
|
||||
* \file
|
||||
* Native (non-specific) code for the Contiki real-time module rt
|
||||
* \author
|
||||
* Adam Dunkels <adam@sics.se>
|
||||
* $Id: rtimer-arch.c,v 1.2 2007/11/25 22:48:35 fros4943 Exp $
|
||||
*/
|
||||
|
||||
#include <signal.h>
|
||||
|
|
Loading…
Reference in a new issue