From 67a0640f718dee034ff5244aebf01280a32d9ee8 Mon Sep 17 00:00:00 2001 From: "Ben V. Brown" Date: Sun, 17 Jan 2021 11:06:25 +1100 Subject: [PATCH] Fix headers That were hidden by import order before --- .../Vendor/SoC/gd32vf103/Common/Include/gd32vf103_gpio.h | 6 ++++++ source/configuration.h | 1 + 2 files changed, 7 insertions(+) diff --git a/source/Core/BSP/Pine64/Vendor/SoC/gd32vf103/Common/Include/gd32vf103_gpio.h b/source/Core/BSP/Pine64/Vendor/SoC/gd32vf103/Common/Include/gd32vf103_gpio.h index 7cebdefc..fd454756 100644 --- a/source/Core/BSP/Pine64/Vendor/SoC/gd32vf103/Common/Include/gd32vf103_gpio.h +++ b/source/Core/BSP/Pine64/Vendor/SoC/gd32vf103/Common/Include/gd32vf103_gpio.h @@ -38,6 +38,9 @@ OF SUCH DAMAGE. #include "gd32vf103.h" #include "gd32vf103_dbg.h" #include "gd32vf103_rcu.h" +#ifdef __cplusplus +extern "C" { +#endif /* GPIOx(x=A,B,C,D,E) definitions */ #define GPIOA (GPIO_BASE + 0x00000000U) @@ -419,5 +422,8 @@ void gpio_event_output_disable(void); /* lock GPIO pin bit */ void gpio_pin_lock(uint32_t gpio_periph, uint32_t pin); +#ifdef __cplusplus +} +#endif #endif /* GD32VF103_GPIO_H */ diff --git a/source/configuration.h b/source/configuration.h index 5043e64e..6ae7d372 100644 --- a/source/configuration.h +++ b/source/configuration.h @@ -1,5 +1,6 @@ #pragma once #include "Model_Config.h" +#include /** * Configuration.h * Define here your default pre settings for TS80 or TS100