projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altos: Move common build definitions to src/Makefile.defs
[fw/altos]
/
src
/
stm
/
ao_adc_single_stm.c
diff --git
a/src/stm/ao_adc_single_stm.c
b/src/stm/ao_adc_single_stm.c
index 8a7fda4a9305a3b658bf1eb7af48162e5207dc9a..c3a332f4f19dd58bc97e6f3c3880f2bb3c5947e1 100644
(file)
--- a/
src/stm/ao_adc_single_stm.c
+++ b/
src/stm/ao_adc_single_stm.c
@@
-18,6
+18,7
@@
#include <ao.h>
#include <ao_data.h>
#include <ao.h>
#include <ao_data.h>
+#include <ao_adc_single.h>
static uint8_t ao_adc_ready;
static uint8_t ao_adc_ready;
@@
-95,7
+96,7
@@
ao_adc_dump(void)
AO_ADC_DUMP(&packet);
}
AO_ADC_DUMP(&packet);
}
-
__code
struct ao_cmds ao_adc_cmds[] = {
+
const
struct ao_cmds ao_adc_cmds[] = {
{ ao_adc_dump, "a\0Display current ADC values" },
{ 0, NULL },
};
{ ao_adc_dump, "a\0Display current ADC values" },
{ 0, NULL },
};