projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ao-tools: Add lots of compiler warning flags to ao-tools build
[fw/altos]
/
src
/
drivers
/
ao_cc115l.c
diff --git
a/src/drivers/ao_cc115l.c
b/src/drivers/ao_cc115l.c
index c1c21e0d404e2a0259dd3b20ae23e5a0ad464c77..a8f2c4f5102e2acf0bc7ca8d269d5de243508613 100644
(file)
--- a/
src/drivers/ao_cc115l.c
+++ b/
src/drivers/ao_cc115l.c
@@
-700,10
+700,8
@@
ao_radio_test_cmd(void)
uint8_t mode = 2;
static uint8_t radio_on;
ao_cmd_white();
uint8_t mode = 2;
static uint8_t radio_on;
ao_cmd_white();
- if (ao_cmd_lex_c != '\n') {
- ao_cmd_decimal();
- mode = (uint8_t) ao_cmd_lex_u32;
- }
+ if (ao_cmd_lex_c != '\n')
+ mode = ao_cmd_decimal();
mode++;
if ((mode & 2) && !radio_on) {
#if HAS_MONITOR
mode++;
if ((mode & 2) && !radio_on) {
#if HAS_MONITOR