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_ */