Renamed sensinode-debug to debug

This commit is contained in:
George Oikonomou 2012-04-02 00:22:58 +01:00
parent bce34e4b9a
commit 977bc548f3
12 changed files with 14 additions and 14 deletions

View File

@ -40,7 +40,7 @@
#include "contiki.h"
#include "cc2430_sfr.h"
#include "sensinode-debug.h"
#include "debug.h"
#include "dev/cc2430_rf.h"
#include <stdio.h>

View File

@ -46,7 +46,7 @@
#include "dev/leds.h"
#if CONTIKI_TARGET_SENSINODE
#include "dev/sensinode-sensors.h"
#include "sensinode-debug.h"
#include "debug.h"
#endif
#define DEBUG 0

View File

@ -58,7 +58,7 @@
#include <stdio.h>
#if CONTIKI_TARGET_SENSINODE
#include "sensinode-debug.h"
#include "debug.h"
#include "dev/sensinode-sensors.h"
#else
#define putstring(s)

View File

@ -96,7 +96,7 @@
#if DEBUG
#include <stdio.h>
#if CONTIKI_TARGET_SENSINODE
#include "sensinode-debug.h"
#include "debug.h"
#endif /* CONTIKI_TARGET_SENSINODE */
#define PRINTF(...) printf(__VA_ARGS__)
#else /* DEBUG */

View File

@ -49,7 +49,7 @@
#define DEBUG 1
#if DEBUG
#include <stdio.h>
#include "sensinode-debug.h"
#include "debug.h"
#define PRINTF(...) printf(__VA_ARGS__)
#define PUTBIN(b) putbin(b)
#else

View File

@ -36,7 +36,7 @@
#if CONTIKI_TARGET_SENSINODE
#include "dev/sensinode-sensors.h"
#include "sensinode-debug.h"
#include "debug.h"
#else
#define putstring(s)
#define puthex(s)

View File

@ -35,7 +35,7 @@
#if CONTIKI_TARGET_SENSINODE
#include "dev/sensinode-sensors.h"
#include "sensinode-debug.h"
#include "debug.h"
#endif
#define DEBUG DEBUG_NONE

View File

@ -41,7 +41,7 @@
#if CONTIKI_TARGET_SENSINODE
#include "dev/sensinode-sensors.h"
#include "sensinode-debug.h"
#include "debug.h"
#else
#define putstring(s)
#endif

View File

@ -40,7 +40,7 @@ CONTIKI_TARGET_SOURCEFILES = contiki-sensinode-main.c
CONTIKI_TARGET_SOURCEFILES += leds.c leds-arch.c serial-line.c sensors.c
CONTIKI_TARGET_SOURCEFILES += sensinode-sensors.c button-sensor.c adc-sensor.c
CONTIKI_TARGET_SOURCEFILES += n740.c models.c m25p16.c slip-arch.c slip.c
CONTIKI_TARGET_SOURCEFILES += putchar.c sensinode-debug.c
CONTIKI_TARGET_SOURCEFILES += putchar.c debug.c
CONTIKI_SOURCEFILES += $(CONTIKI_TARGET_SOURCEFILES)

View File

@ -15,7 +15,7 @@
#include "net/rime.h"
#include "net/netstack.h"
#include "net/mac/frame802154.h"
#include "sensinode-debug.h"
#include "debug.h"
#include "dev/watchdog-cc2430.h"
#include "dev/sensinode-sensors.h"
#include "disco.h"

View File

@ -13,7 +13,7 @@
#include "cc2430_sfr.h"
#include "8051def.h"
#include "sensinode-debug.h"
#include "debug.h"
static const char hexconv[] = "0123456789abcdef";
static const char binconv[] = "01";

View File

@ -40,8 +40,8 @@
* George Oikonomou - <oikonomou@users.sourceforge.net>
*/
#ifndef SENSINODE_DEBUG_H_
#define SENSINODE_DEBUG_H_
#ifndef DEBUG_H_
#define DEBUG_H_
#include "8051def.h"
#include "dev/uart1.h"
@ -51,4 +51,4 @@ void putstring(char *s);
void puthex(uint8_t c);
void putbin(uint8_t c);
#endif /* SENSINODE_DEBUG_H_ */
#endif /* DEBUG_H_ */