Works properly tilll bbram

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
dheerajmpai23
Date:
Thu Oct 22 11:28:10 2015 +0000
Parent:
1:9cd986151b11
Commit message:
I am going to make some changes to debug

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Thu Oct 22 10:01:48 2015 +0000
+++ b/main.cpp	Thu Oct 22 11:28:10 2015 +0000
@@ -409,7 +409,7 @@
 /*****************************/
 bool assrt_phy_on(int cmd_err_cnt,int spi_err_cnt,int state_err_cnt){
     status=check_status();
-        if((status&0x1F)==0xB2){
+        if((status&0x1F)==0x12){
             return 0;
         }
         else if(cmd_err_cnt>THRS||spi_err_cnt>THRS){