From a9c86c7d088de743c69abe045a07221532da80c8 Mon Sep 17 00:00:00 2001 From: Peter Antypas Date: Sat, 3 Oct 2020 09:49:22 -0700 Subject: [PATCH] Switched default build to board 6.x --- latest/Firmware/Inc/bsp/bsp.hpp | 2 +- latest/Firmware/Src/bsp/bsp_6_0.cpp | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/latest/Firmware/Inc/bsp/bsp.hpp b/latest/Firmware/Inc/bsp/bsp.hpp index af68568..1ca58e7 100644 --- a/latest/Firmware/Inc/bsp/bsp.hpp +++ b/latest/Firmware/Inc/bsp/bsp.hpp @@ -26,7 +26,7 @@ // Either modify this header or define a different symbol in the preprocessor to build for a different board #ifndef BOARD_REV -#define BOARD_REV 52 +#define BOARD_REV 60 #endif /** diff --git a/latest/Firmware/Src/bsp/bsp_6_0.cpp b/latest/Firmware/Src/bsp/bsp_6_0.cpp index 72f3525..ef03de1 100644 --- a/latest/Firmware/Src/bsp/bsp_6_0.cpp +++ b/latest/Firmware/Src/bsp/bsp_6_0.cpp @@ -376,6 +376,7 @@ void bsp_gnss_on() void bsp_gnss_off() { HAL_GPIO_WritePin(GNSS_EN_PORT, GNSS_EN_PIN, GPIO_PIN_RESET); + HAL_Delay(100); } void USART_putc(USART_TypeDef* USARTx, char c) @@ -536,7 +537,7 @@ void bsp_enter_dfu() */ HAL_GPIO_WritePin(DFU_EN_PORT, DFU_EN_PIN, GPIO_PIN_SET); - HAL_Delay(1000); + HAL_Delay(500); bsp_reboot(); }