pradeep shekhar
/
Beacon_BAE_intergration_test_3
General testings
Fork of BEACON_CODE_NEW by
Revision 9:aeeb97970484, committed 2015-10-04
- Comitter:
- shekhar
- Date:
- Sun Oct 04 22:48:48 2015 +0000
- Parent:
- 8:6af757921576
- Child:
- 10:a3f890849610
- Commit message:
- made few more changes
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Sun Oct 04 22:31:44 2015 +0000 +++ b/main.cpp Sun Oct 04 22:48:48 2015 +0000 @@ -43,7 +43,10 @@ { //pc.printf("in BCN_TX_STANDBY != 1\r\n"); if(check_POWER_LEVEL() > 0 && skip_Iteration == false) - { //Power level is measured using SoC(State of Charge) //PowerLevel>0 + { + LOW_POWER_COUNTER = 0; //this is used for cases where earlier the power is low and counter was incrementing + + //Power level is measured using SoC(State of Charge) //PowerLevel>0 //pc.printf("Entering SHORT_BCN_TX\r\n"); //t.start(); //int begin = t.read_us(); @@ -128,7 +131,7 @@ { //make //hardcoding for now - return 3; //valid power levels - 0, 1, 2, 3. + return 2; //valid power levels - 0, 1, 2. } int check_Temperature() {