Works properly tilll bbram

Dependencies:   mbed

Revision:
2:3ad3165e4d6c
Parent:
1:9cd986151b11
--- 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){