summaryrefslogtreecommitdiff
path: root/src/core/ao_cmd.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2012-03-26 23:35:35 -0700
committerKeith Packard <keithp@keithp.com>2012-03-26 23:35:35 -0700
commitc1d12a117b36de7fe8dd992959b890bfd1163e81 (patch)
treea2be474737f3f3fb062b60ca6ea26301706151f6 /src/core/ao_cmd.c
parentc2550d72aee371676d2f09316051567681e53a7c (diff)
Do radio settings solely by frequency
Compute the radio setting needed based on the calibration value provided and the requested frequency. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/core/ao_cmd.c')
-rw-r--r--src/core/ao_cmd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/ao_cmd.c b/src/core/ao_cmd.c
index 14cb7569..cde68b39 100644
--- a/src/core/ao_cmd.c
+++ b/src/core/ao_cmd.c
@@ -263,9 +263,9 @@ static __pdata uint8_t ao_ncmds;
static void
help(void)
{
- register uint8_t cmds;
- register uint8_t cmd;
- register __code struct ao_cmds * cs;
+ __pdata uint8_t cmds;
+ __pdata uint8_t cmd;
+ __code struct ao_cmds * __pdata cs;
for (cmds = 0; cmds < ao_ncmds; cmds++) {
cs = ao_cmds[cmds];