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