WXK
2024-04-18 4b421322afff4020c6b2c1bece996a7f9cd67337
APL/dw_driver.c
@@ -13,7 +13,7 @@
{
 
 GPIO_InitTypeDef GPIO_InitStruct = {0};
 deca_sleep(100);
   HAL_GPIO_WritePin(DW1000_RSTn_GPIO, DW1000_RSTn, GPIO_PIN_RESET);
   
   GPIO_InitStruct.Pin = DW1000_RSTn;
@@ -24,7 +24,7 @@
    //drive the RSTn pin low
//    GPIO_ResetBits(DW1000_RSTn_GPIO, DW1000_RSTn);
deca_sleep(100);
    //put the pin back to tri-state ... as input
   GPIO_InitStruct.Pin = DW1000_RSTn;
  GPIO_InitStruct.Mode = GPIO_MODE_ANALOG;