projects
/
goodfet
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Little bit better reflex.
[goodfet]
/
shellcode
/
chipcon
/
cc1110
/
reflexframe.c
diff --git
a/shellcode/chipcon/cc1110/reflexframe.c
b/shellcode/chipcon/cc1110/reflexframe.c
index
bc48133
..
28c2da1
100644
(file)
--- a/
shellcode/chipcon/cc1110/reflexframe.c
+++ b/
shellcode/chipcon/cc1110/reflexframe.c
@@
-88,15
+88,14
@@
void main(){
//idle a bit.
RFST=RFST_SIDLE;
while(MARCSTATE!=MARC_STATE_IDLE);
//idle a bit.
RFST=RFST_SIDLE;
while(MARCSTATE!=MARC_STATE_IDLE);
-
- restore_settings();
- //idle a bit.
- RFST=RFST_SFSTXON;
- while(MARCSTATE!=MARC_STATE_FSTXON);
+ restore_settings();
+ //idle a bit, unecessary
+ //RFST=RFST_SFSTXON;
+ //while(MARCSTATE!=MARC_STATE_FSTXON);
- sleepMillis(5);
+
//
sleepMillis(5);
rxwait();
//idle w/ oscillator
rxwait();
//idle w/ oscillator
@@
-116,7
+115,7
@@
void main(){
carrier();
RFON;
carrier();
RFON;
- sleepMillis(200
0
);
+ sleepMillis(200);
//sleepMillis(20);
//HALT;
//sleepMillis(20);
//HALT;