printf -> logs in xbee_user
[protos/xbee-avr.git] / commands_gen.c
index f1039b3..752b998 100644 (file)
@@ -157,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;
@@ -167,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