disable debug prints, remove rfchannel coap entry

master
Harald Pichler 2017-09-20 08:45:01 +02:00
parent ba62fd2dd2
commit 29190681cc
3 changed files with 3 additions and 4 deletions

View File

@ -19,7 +19,7 @@ extern "C" {
#include "lib/settings.h"
extern resource_t res_led, res_battery, res_cputemp, res_rfchannel;
extern resource_t res_led, res_battery, res_cputemp;
uint8_t led_pin=4;
uint8_t led_status;
@ -40,7 +40,6 @@ void setup (void)
rest_activate_resource (&res_led, "s/led");
rest_activate_resource (&res_battery, "s/battery");
rest_activate_resource (&res_cputemp, "s/cputemp");
rest_activate_resource (&res_rfchannel, "p/rfchannel");
#pragma GCC diagnostic pop
// NETSTACK_MAC.off(1);

View File

@ -31,7 +31,7 @@
*/
#define PRINTF(FORMAT,args...) printf_P(PSTR(FORMAT),##args)
#define DEBUG 1
#define DEBUG 0
#if DEBUG
#define PRINTD(FORMAT,args...) printf_P(PSTR(FORMAT),##args)
#else

View File

@ -31,7 +31,7 @@
*/
#define PRINTF(FORMAT,args...) printf_P(PSTR(FORMAT),##args)
#define DEBUG 1
#define DEBUG 0
#if DEBUG
#define PRINTD(FORMAT,args...) printf_P(PSTR(FORMAT),##args)
#else