X-Git-Url: http://git.droids-corp.org/?p=protos%2Fxbee-avr.git;a=blobdiff_plain;f=commands_gen.c;h=752b998c18fbb3ab45fe7318eb2b01ba5d481322;hp=d09d69ef933673f047eac7df217458ba705a600d;hb=8e219fe02de38683879295e5bd42b67ce9d5b849;hpb=a53014b7f52462e163a7d7ac64866aa75977422f diff --git a/commands_gen.c b/commands_gen.c index d09d69e..752b998 100644 --- a/commands_gen.c +++ b/commands_gen.c @@ -122,10 +122,7 @@ static void cmd_callout_parsed(void *parsed_result, void *data) { (void)parsed_result; (void)data; - printf_P(PSTR("intr_cm:\n")); callout_dump_stats(&xbeeboard.intr_cm); - printf_P(PSTR("mainloop_cm:\n")); - callout_dump_stats(&xbeeboard.mainloop_cm); } const char PROGMEM str_callout_arg0[] = "callout"; @@ -160,6 +157,7 @@ struct cmd_log_result { static const char PROGMEM uart_log[] = "uart"; static const char PROGMEM i2c_log[] = "i2c"; static const char PROGMEM default_log[] = "default"; +static const char PROGMEM xbee_log[] = "xbee"; struct log_name_and_num { const char *name; @@ -170,6 +168,7 @@ static const struct log_name_and_num log_name_and_num[] = { { uart_log, E_UART }, { i2c_log, E_I2C }, { default_log, E_USER_DEFAULT }, + { xbee_log, E_USER_XBEE }, }; static uint8_t