Skip to content

Commit

Permalink
modified typeA board's IWDG prescaler and reload value
Browse files Browse the repository at this point in the history
  • Loading branch information
Andd54 committed Dec 20, 2023
1 parent b642f8c commit 9ae71aa
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions boards/DJI_Board_TypeA/Core/Src/iwdg.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ void MX_IWDG_Init(void)
{

hiwdg.Instance = IWDG;
hiwdg.Init.Prescaler = IWDG_PRESCALER_4;
hiwdg.Init.Reload = 499;
hiwdg.Init.Prescaler = IWDG_PRESCALER_32;
hiwdg.Init.Reload = 3000;
if (HAL_IWDG_Init(&hiwdg) != HAL_OK)
{
Error_Handler();
Expand Down
4 changes: 2 additions & 2 deletions boards/DJI_Board_TypeA/DJI_Board_TypeA.ioc
Original file line number Diff line number Diff line change
Expand Up @@ -223,8 +223,8 @@ FREERTOS.configUSE_STATS_FORMATTING_FUNCTIONS=0
File.Version=6
GPIO.groupedBy=Group By Peripherals
IWDG.IPParameters=Reload,Prescaler
IWDG.Prescaler=IWDG_PRESCALER_4
IWDG.Reload=499
IWDG.Prescaler=IWDG_PRESCALER_32
IWDG.Reload=3000
KeepUserPlacement=false
Mcu.CPN=STM32F427IIH6
Mcu.Family=STM32F4
Expand Down
2 changes: 1 addition & 1 deletion boards/DJI_Board_TypeA/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
##########################################################################################################################
# File automatically-generated by tool: [projectgenerator] version: [4.1.0] date: [Tue Dec 19 15:28:51 CST 2023]
# File automatically-generated by tool: [projectgenerator] version: [4.1.0] date: [Tue Dec 19 20:09:38 CST 2023]
##########################################################################################################################

# ------------------------------------------------
Expand Down

0 comments on commit 9ae71aa

Please sign in to comment.