diff options
author | Keith Packard <keithp@keithp.com> | 2013-12-20 22:43:18 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2013-12-20 22:44:04 -0800 |
commit | 5c9172ba5681ff93d63c9c263a453d0025170045 (patch) | |
tree | 4d4bb736b1bb76d321e5efaefe2b23f5d389a1ce /src/drivers/ao_cc1120.c | |
parent | db8f3426ac1cf756a2e4974ca61a5ae9048c80ce (diff) |
altos: Clean up -Wextra warnings
Unused variables, mismatching signed/unsigned and a few other misc
warnings.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/drivers/ao_cc1120.c')
-rw-r--r-- | src/drivers/ao_cc1120.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/drivers/ao_cc1120.c b/src/drivers/ao_cc1120.c index 3429768b..31225939 100644 --- a/src/drivers/ao_cc1120.c +++ b/src/drivers/ao_cc1120.c @@ -509,7 +509,7 @@ static void ao_radio_set_mode(uint16_t new_mode) { uint16_t changes; - int i; + unsigned int i; if (new_mode == ao_radio_mode) return; @@ -563,7 +563,7 @@ static uint8_t ao_radio_configured = 0; static void ao_radio_setup(void) { - int i; + unsigned int i; ao_radio_strobe(CC1120_SRES); |