From: travisutk Date: Fri, 24 Dec 2010 02:19:23 +0000 (+0000) Subject: Little bit better reflex. X-Git-Url: http://git.rot13.org/?p=goodfet;a=commitdiff_plain;h=6b7c1890ea90e22ec2c75506b274e21c35fc8af9;hp=04e63f634d17c7dabe18bd9ce4e902b3df94cdca Little bit better reflex. git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@807 12e2690d-a6be-4b82-a7b7-67c4a43b65c8 --- 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;