disable debug prints, remove rfchannel coap entry
This commit is contained in:
parent
ba62fd2dd2
commit
29190681cc
3 changed files with 3 additions and 4 deletions
|
@ -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);
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue