0
zhyinch
2021-12-10 7a67526ee4c5c0664e2b8b9a56e86a82eb9b238a
Src/application/dw_app.c
@@ -1013,7 +1013,7 @@
   
   //LED0_ON;
   SPIx_CS_GPIO->BRR = SPIx_CS;
   delay_us(700);
   delay_us(2700);
    GetPressAndHeight();
    intheight = Height*100;
   SPIx_CS_GPIO->BSRR = SPIx_CS;
@@ -1021,6 +1021,7 @@
       while (DWT_DEVICE_ID != id) 
    {
      //   Dw1000_Init();
        delay_us(700);
         id =  dwt_readdevid() ;
        IdleTask();   
        if(error_times++>20)