disable debug prints, remove rfchannel coap entry

This commit is contained in:
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" #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_pin=4;
uint8_t led_status; uint8_t led_status;
@ -40,7 +40,6 @@ void setup (void)
rest_activate_resource (&res_led, "s/led"); rest_activate_resource (&res_led, "s/led");
rest_activate_resource (&res_battery, "s/battery"); rest_activate_resource (&res_battery, "s/battery");
rest_activate_resource (&res_cputemp, "s/cputemp"); rest_activate_resource (&res_cputemp, "s/cputemp");
rest_activate_resource (&res_rfchannel, "p/rfchannel");
#pragma GCC diagnostic pop #pragma GCC diagnostic pop
// NETSTACK_MAC.off(1); // NETSTACK_MAC.off(1);

View file

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

View file

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