chore: Clean HAL (1 of many) (#3790)

* chore: clean hal (phase 1 of many)

* chore: clean hal : remove KEYS_RCC_AHB1Periph

* chore: clean hal : remove AUX(2)_SERIAL_RCC_AHB1Periph

* chore: clean hal : remove ADC_RCC
This commit is contained in:
3djc
2023-07-14 18:25:59 +10:00
committed by GitHub
parent 1791bbd354
commit b1609eb484
8 changed files with 5 additions and 250 deletions
@@ -219,10 +219,8 @@ void writeEepromBlock()
#if !defined(SIMU)
void bootloaderInitApp()
{
RCC_AHB1PeriphClockCmd(PWR_RCC_AHB1Periph | KEYS_RCC_AHB1Periph |
RCC_AHB1PeriphClockCmd(PWR_RCC_AHB1Periph |
LCD_RCC_AHB1Periph | BACKLIGHT_RCC_AHB1Periph |
AUX_SERIAL_RCC_AHB1Periph |
AUX2_SERIAL_RCC_AHB1Periph |
KEYS_BACKLIGHT_RCC_AHB1Periph | SD_RCC_AHB1Periph,
ENABLE);
@@ -276,6 +274,7 @@ void bootloaderInitApp()
if (readTrims() != BOOTLOADER_KEYS) {
#endif
#endif
// TODO: deInit before restarting
// Start main application
jumpTo(APP_START_ADDRESS);
}