1
0
mirror of https://github.com/peterantypas/maiana.git synced 2025-05-18 08:20:08 -07:00

Switched default build to board 6.x

This commit is contained in:
Peter Antypas 2020-10-03 09:49:22 -07:00
parent 215d54c419
commit a9c86c7d08
2 changed files with 3 additions and 2 deletions

View File

@ -26,7 +26,7 @@
// Either modify this header or define a different symbol in the preprocessor to build for a different board // Either modify this header or define a different symbol in the preprocessor to build for a different board
#ifndef BOARD_REV #ifndef BOARD_REV
#define BOARD_REV 52 #define BOARD_REV 60
#endif #endif
/** /**

View File

@ -376,6 +376,7 @@ void bsp_gnss_on()
void bsp_gnss_off() void bsp_gnss_off()
{ {
HAL_GPIO_WritePin(GNSS_EN_PORT, GNSS_EN_PIN, GPIO_PIN_RESET); HAL_GPIO_WritePin(GNSS_EN_PORT, GNSS_EN_PIN, GPIO_PIN_RESET);
HAL_Delay(100);
} }
void USART_putc(USART_TypeDef* USARTx, char c) 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_GPIO_WritePin(DFU_EN_PORT, DFU_EN_PIN, GPIO_PIN_SET);
HAL_Delay(1000); HAL_Delay(500);
bsp_reboot(); bsp_reboot();
} }