Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emulab
emulab-devel
Commits
7fedfcbc
Commit
7fedfcbc
authored
Jun 27, 2005
by
David Johnson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor fix.
parent
c6a58c22
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
2 deletions
+17
-2
mote/apps/ElabRadioDumpFH/ElabRadioDumpFHM.nc
mote/apps/ElabRadioDumpFH/ElabRadioDumpFHM.nc
+17
-2
No files found.
mote/apps/ElabRadioDumpFH/ElabRadioDumpFHM.nc
View file @
7fedfcbc
// $Id: ElabRadioDumpFHM.nc,v 1.
2
2005-06-27 22:
02:3
7 johnsond Exp $
// $Id: ElabRadioDumpFHM.nc,v 1.
3
2005-06-27 22:
11:5
7 johnsond Exp $
/* tab:4
* "Copyright (c) 2000-2003 The Regents of the University of California.
...
...
@@ -30,7 +30,7 @@
*/
/*
* Author: Phil Buonadonna
* Revision: $Id: ElabRadioDumpFHM.nc,v 1.
2
2005-06-27 22:
02:3
7 johnsond Exp $
* Revision: $Id: ElabRadioDumpFHM.nc,v 1.
3
2005-06-27 22:
11:5
7 johnsond Exp $
*
*
*/
...
...
@@ -260,6 +260,21 @@ implementation
#define FH_INTERVAL 1024
#endif
atomic {
call Leds.greenOn();
// freqIdx starts out at -1, so this works.
freqIdx = (++freqIdx)%freqTableLength;
call RadioControl.stop();
if (call CC1000Control.TuneManual(freqTable[freqIdx]) == 916710218) {
call Leds.redOn();
}
else {
call Leds.redOff();
}
call RadioControl.start();
call Leds.greenOff();
}
call TimerFH.start(TIMER_REPEAT,FH_INTERVAL);
return rcombine(ok1, ok2);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment