Browse Source

Update some platform includes

Scott Lahteine 5 years ago
parent
commit
6899ed2026

+ 2
- 2
buildroot/share/PlatformIO/variants/BIGTREE_GENERIC_STM32F407_5X/PeripheralPins.c View File

@@ -28,8 +28,8 @@
28 28
  *******************************************************************************
29 29
  * Automatically generated from STM32F407Z(E-G)Tx.xml
30 30
  */
31
-#include "Arduino.h"
32
-#include "PeripheralPins.h"
31
+#include <Arduino.h>
32
+#include <PeripheralPins.h>
33 33
 
34 34
 /* =====
35 35
  * Note: Commented lines are alternative possibilities which are not used by default.

+ 2
- 6
buildroot/share/PlatformIO/variants/BIGTREE_GENERIC_STM32F407_5X/variant.h View File

@@ -27,14 +27,12 @@
27 27
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28 28
  *******************************************************************************
29 29
  */
30
-
31
-#ifndef _VARIANT_ARDUINO_STM32_
32
-#define _VARIANT_ARDUINO_STM32_
30
+#pragma once
33 31
 
34 32
 /*----------------------------------------------------------------------------
35 33
  *        Headers
36 34
  *----------------------------------------------------------------------------*/
37
-#include "PeripheralPins.h"
35
+#include <PeripheralPins.h>
38 36
 
39 37
 #ifdef __cplusplus
40 38
 extern "C" {
@@ -292,5 +290,3 @@ extern const PinName digitalPin[];
292 290
 #define SERIAL_PORT_MONITOR     Serial
293 291
 #define SERIAL_PORT_HARDWARE    Serial1
294 292
 #endif
295
-
296
-#endif /* _VARIANT_ARDUINO_STM32_ */

+ 2
- 2
buildroot/share/PlatformIO/variants/MARLIN_F407VE/PeripheralPins.c View File

@@ -28,8 +28,8 @@
28 28
  *******************************************************************************
29 29
  * Automatically generated from STM32F407Z(E-G)Tx.xml
30 30
  */
31
-#include "Arduino.h"
32
-#include "PeripheralPins.h"
31
+#include <Arduino.h>
32
+#include <PeripheralPins.h>
33 33
 
34 34
 /* =====
35 35
  * Note: Commented lines are alternative possibilities which are not used per default.

+ 2
- 6
buildroot/share/PlatformIO/variants/MARLIN_F407VE/variant.h View File

@@ -27,14 +27,12 @@
27 27
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28 28
  *******************************************************************************
29 29
  */
30
-
31
-#ifndef _VARIANT_ARDUINO_STM32_
32
-#define _VARIANT_ARDUINO_STM32_
30
+#pragma once
33 31
 
34 32
 /*----------------------------------------------------------------------------
35 33
  *        Headers
36 34
  *----------------------------------------------------------------------------*/
37
-#include "PeripheralPins.h"
35
+#include <PeripheralPins.h>
38 36
 
39 37
 #ifdef __cplusplus
40 38
 extern "C" {
@@ -215,5 +213,3 @@ extern const PinName digitalPin[];
215 213
 #define SERIAL_PORT_MONITOR     Serial
216 214
 #define SERIAL_PORT_HARDWARE    Serial1
217 215
 #endif
218
-
219
-#endif /* _VARIANT_ARDUINO_STM32_ */

Loading…
Cancel
Save