projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altos/stm32f1: Add ao_adc_single support
[fw/altos]
/
src
/
stm
/
ao_pwm_stm.c
diff --git
a/src/stm/ao_pwm_stm.c
b/src/stm/ao_pwm_stm.c
index 53000a170f19564ab1d5689559c40ad981099852..9f3dde5492e148771a0ae8a3e60cfdfd82e95f25 100644
(file)
--- a/
src/stm/ao_pwm_stm.c
+++ b/
src/stm/ao_pwm_stm.c
@@
-107,10
+107,8
@@
ao_pwm_cmd(void)
uint8_t ch;
uint16_t val;
uint8_t ch;
uint16_t val;
- ao_cmd_decimal();
- ch = ao_cmd_lex_u32;
- ao_cmd_decimal();
- val = ao_cmd_lex_u32;
+ ch = (uint8_t) ao_cmd_decimal();
+ val = (uint16_t) ao_cmd_decimal();
if (ao_cmd_status != ao_cmd_success)
return;
if (ao_cmd_status != ao_cmd_success)
return;