imuboard: remove references to xbee
[fpv.git] / imuboard / commands_gen.c
index f49ef9a..b675cc4 100644 (file)
@@ -90,7 +90,7 @@ static void cmd_bootloader_parsed(void *parsed_result, void *data)
 #ifndef HOST_VERSION
        bootloader();
 #else
-       printf("not implemented\n");
+       printf_P(PSTR("not implemented\n"));
 #endif
 }
 
@@ -157,7 +157,6 @@ 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";
 static const char PROGMEM rc_proto_log[] = "rc_proto";
 
 struct log_name_and_num {
@@ -169,7 +168,6 @@ 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 },
        { rc_proto_log, E_USER_RC_PROTO },
 };
 
@@ -327,7 +325,7 @@ const char PROGMEM str_log_arg1_type[] = "type";
 const parse_token_string_t PROGMEM cmd_log_arg1_type = TOKEN_STRING_INITIALIZER(struct cmd_log_type_result, arg1, str_log_arg1_type);
 /* keep it sync with log_name_and_num above */
 const char PROGMEM str_log_arg2_type[] =
-       "uart#i2c#i2cproto#default#xbee#rc_proto";
+       "uart#i2c#i2cproto#default#rc_proto";
 const parse_token_string_t PROGMEM cmd_log_arg2_type = TOKEN_STRING_INITIALIZER(struct cmd_log_type_result, arg2, str_log_arg2_type);
 const char PROGMEM str_log_arg3[] = "on#off";
 const parse_token_string_t PROGMEM cmd_log_arg3 = TOKEN_STRING_INITIALIZER(struct cmd_log_type_result, arg3, str_log_arg3);
@@ -361,9 +359,9 @@ static void cmd_stack_space_parsed(void *parsed_result, void *data)
        (void)parsed_result;
        (void)data;
 #ifdef HOST_VERSION
-       printf("not implemented\n");
+       printf_P(PSTR("not implemented\n"));
 #else
-       printf("res stack: %d\r\n", min_stack_space_available());
+       printf_P(PSTR("res stack: %d\r\n"), min_stack_space_available());
 #endif
 }