X-Git-Url: http://git.rot13.org/?p=goodfet;a=blobdiff_plain;f=shellcode%2Fchipcon%2Fcc1110%2Freflexframe.c;h=4dd3ecf3a59ac82d57f93265bc4e789ea190ba01;hp=28c2da161d2aaa31ad77c0211ba8628dbbdbe7f0;hb=8e9ea4afe6fe3dc788cef00258e35b124165e259;hpb=6b7c1890ea90e22ec2c75506b274e21c35fc8af9 diff --git a/shellcode/chipcon/cc1110/reflexframe.c b/shellcode/chipcon/cc1110/reflexframe.c index 28c2da1..4dd3ecf 100644 --- a/shellcode/chipcon/cc1110/reflexframe.c +++ b/shellcode/chipcon/cc1110/reflexframe.c @@ -95,12 +95,12 @@ void main(){ //RFST=RFST_SFSTXON; //while(MARCSTATE!=MARC_STATE_FSTXON); - //sleepMillis(5); + //sleepMillis(100); rxwait(); //idle w/ oscillator - RFST=RFST_SFSTXON; - while(MARCSTATE!=MARC_STATE_FSTXON); + //RFST=RFST_SFSTXON; + //while(MARCSTATE!=MARC_STATE_FSTXON); //HALT; //sleepMillis(500); @@ -115,9 +115,10 @@ void main(){ carrier(); RFON; - sleepMillis(200); - - //sleepMillis(20); + //sleepMillis(200); + //sleepMillis(100); + //sleepMillis(50); + sleepMillis(10); //HALT; } } @@ -143,6 +144,7 @@ void rxwait(){ RFST=RFST_SRX; while(MARCSTATE!=MARC_STATE_RX); + /* if(PKTCTRL0&1){ //auto length while(i