From 6b7c1890ea90e22ec2c75506b274e21c35fc8af9 Mon Sep 17 00:00:00 2001 From: travisutk Date: Fri, 24 Dec 2010 02:19:23 +0000 Subject: [PATCH 1/1] Little bit better reflex. git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@807 12e2690d-a6be-4b82-a7b7-67c4a43b65c8 --- shellcode/chipcon/cc1110/reflexframe.c | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/shellcode/chipcon/cc1110/reflexframe.c b/shellcode/chipcon/cc1110/reflexframe.c index bc48133..28c2da1 100644 --- 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); - - 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 @@ -116,7 +115,7 @@ void main(){ carrier(); RFON; - sleepMillis(2000); + sleepMillis(200); //sleepMillis(20); //HALT; -- 2.20.1