chore(hal): remove StdPeriph (#5023)

Co-authored-by: raphaelcoeffic <1050031+raphaelcoeffic@users.noreply.github.com>
Co-authored-by: Malte Langermann <malte@langermann.net>
Co-authored-by: 3djc <3djc@gh.com>
Co-authored-by: Richard Li <richard.li@ces.hk>
This commit is contained in:
Raphael Coeffic
2024-06-01 11:45:40 +10:00
committed by GitHub
co-authored by raphaelcoeffic Malte Langermann 3djc Richard Li
parent fea402a6e3
commit 6579905088
247 changed files with 2190 additions and 145252 deletions
+5 -3
View File
@@ -22,6 +22,8 @@
#if !defined(SIMU)
#include "stm32_ws2812.h"
#include "boards/generic_stm32/rgb_leds.h"
#include "stm32_hal.h"
#include "stm32_hal_ll.h"
#endif
#include "opentx.h"
@@ -104,9 +106,9 @@ void toggleLatencySwitch()
#if defined(PCBHORUS)
if (latencyToggleSwitch)
GPIO_ResetBits(EXTMODULE_TX_GPIO, EXTMODULE_TX_GPIO_PIN);
gpio_clear(EXTMODULE_TX_GPIO);
else
GPIO_SetBits(EXTMODULE_TX_GPIO, EXTMODULE_TX_GPIO_PIN);
gpio_set(EXTMODULE_TX_GPIO);
#else
if (latencyToggleSwitch)
sportUpdatePowerOn();
@@ -1561,7 +1563,7 @@ int main()
#if !defined(SIMU)
/* Ensure all priority bits are assigned as preemption priority bits. */
NVIC_PriorityGroupConfig( NVIC_PriorityGroup_4 );
NVIC_SetPriorityGrouping( NVIC_PRIORITYGROUP_4 );
#endif
// G: The WDT remains active after a WDT reset -- at maximum clock speed. So it's