altos/ao_storage: allow erased byte value to be set by application
[fw/altos] / src / kernel / ao_config.c
index 687923499aef2c73efbf67ebea14b088586645d5..24eb79d9aaeba53b2fe2db62d93929569e5633d3 100644 (file)
@@ -629,7 +629,7 @@ static void
 ao_config_log_set(void) 
 {
 #if FLIGHT_LOG_APPEND
-       printf("Flight log fixed size %d kB\n", ao_storage_log_max >> 10);
+       printf("Flight log fixed size %u kB\n", (unsigned) (ao_storage_log_max >> 10));
 #else
        uint32_t        r;
 
@@ -643,7 +643,7 @@ ao_config_log_set(void)
                return;
        }
        if (r > ao_storage_log_max) {
-               printf("Flight log max %d kB\n", ao_storage_log_max >> 10);
+               printf("Flight log max %u kB\n", (unsigned) (ao_storage_log_max >> 10));
                return;
        }
        _ao_config_edit_start();
@@ -1039,7 +1039,7 @@ const struct ao_config_var ao_config_vars[] = {
          ao_config_log_set,            ao_config_log_show },
 #endif
 #if HAS_IGNITE
-       { "i <0 dual, 1 apogee, 2 main>\0Igniter mode",
+       { "i <0 dual, 1 apogee, 2 main, 3 booster>\0Igniter mode",
          ao_config_ignite_mode_set,    ao_config_ignite_mode_show },
 #endif
 #if HAS_AES