Enable use of SERIAL_PORT_2 on HAL_STM32 (#12197)

This commit is contained in:
Karl Andersson 2018-10-23 22:24:58 +02:00 committed by Scott Lahteine
parent 46360f18b4
commit aa72884a6e
3 changed files with 3 additions and 2 deletions

View file

@ -29,6 +29,8 @@
#include "HAL.h" #include "HAL.h"
#include "../../inc/MarlinConfig.h"
#if ENABLED(EEPROM_EMULATED_WITH_SRAM) #if ENABLED(EEPROM_EMULATED_WITH_SRAM)
#if STM32F7xx #if STM32F7xx
#include "stm32f7xx_ll_pwr.h" #include "stm32f7xx_ll_pwr.h"

View file

@ -41,6 +41,7 @@
#include <USBSerial.h> #include <USBSerial.h>
#endif #endif
#include "../../inc/MarlinConfigPre.h"
#include "../shared/math_32bit.h" #include "../shared/math_32bit.h"
#include "../shared/HAL_SPI.h" #include "../shared/HAL_SPI.h"
#include "fastio_STM32.h" #include "fastio_STM32.h"

View file

@ -21,7 +21,5 @@
*/ */
#pragma once #pragma once
#include "../../inc/MarlinConfig.h"
void watchdog_init(); void watchdog_init();
void watchdog_reset(); void watchdog_reset();