projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' into branch-1.9
[fw/altos]
/
src
/
kernel
/
ao_config.c
diff --git
a/src/kernel/ao_config.c
b/src/kernel/ao_config.c
index 687923499aef2c73efbf67ebea14b088586645d5..217b0ab1a8cd5145dbc6470f2c95bede280144f1 100644
(file)
--- a/
src/kernel/ao_config.c
+++ b/
src/kernel/ao_config.c
@@
-629,7
+629,7
@@
static void
ao_config_log_set(void)
{
#if FLIGHT_LOG_APPEND
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;
#else
uint32_t r;
@@
-643,7
+643,7
@@
ao_config_log_set(void)
return;
}
if (r > ao_storage_log_max) {
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();
return;
}
_ao_config_edit_start();