Browse Source

Enable use of SERIAL_PORT_2 on HAL_STM32 (#12197)

pull/1/head
Karl Andersson 6 years ago
committed by Scott Lahteine
parent
commit
aa72884a6e
  1. 2
      Marlin/src/HAL/HAL_STM32/HAL.cpp
  2. 1
      Marlin/src/HAL/HAL_STM32/HAL.h
  3. 2
      Marlin/src/HAL/HAL_STM32/watchdog_STM32.h

2
Marlin/src/HAL/HAL_STM32/HAL.cpp

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

1
Marlin/src/HAL/HAL_STM32/HAL.h

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

2
Marlin/src/HAL/HAL_STM32/watchdog_STM32.h

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

Loading…
Cancel
Save