Skip to content

Commit 385f534

Browse files
committed
Fix patch
1 parent af14b05 commit 385f534

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

patches/0001-make-gpio-apis-non-static.patch

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1-
From 9747c709c688d2c34309daa8732439a0a3e2df43 Mon Sep 17 00:00:00 2001
1+
From 49500ae3be162d6dd0167195fe3811dc6a6763b3 Mon Sep 17 00:00:00 2001
22
From: Martino Facchin <m.facchin@arduino.cc>
33
Date: Tue, 6 Nov 2018 16:23:20 +0100
44
Subject: [PATCH] make gpio apis non static
55

66
---
7-
targets/TARGET_STM/gpio_object.c | 69 ++++++++++++++++++++++++++++++++
7+
targets/TARGET_STM/gpio_object.c | 70 ++++++++++++++++++++++++++++++++
88
targets/TARGET_STM/gpio_object.h | 26 ++----------
9-
2 files changed, 72 insertions(+), 23 deletions(-)
9+
2 files changed, 73 insertions(+), 23 deletions(-)
1010
create mode 100644 targets/TARGET_STM/gpio_object.c
1111

1212
diff --git a/targets/TARGET_STM/gpio_object.c b/targets/TARGET_STM/gpio_object.c
1313
new file mode 100644
14-
index 000000000..44173403a
14+
index 000000000..4d3279836
1515
--- /dev/null
1616
+++ b/targets/TARGET_STM/gpio_object.c
17-
@@ -0,0 +1,69 @@
17+
@@ -0,0 +1,70 @@
1818
+/* mbed Microcontroller Library
1919
+ *******************************************************************************
2020
+ * Copyright (c) 2016, STMicroelectronics
@@ -51,6 +51,7 @@ index 000000000..44173403a
5151
+#include "PeripheralNames.h"
5252
+#include "PinNames.h"
5353
+#include "gpio_object.h"
54+
+#include "device.h"
5455
+
5556
+#ifdef __cplusplus
5657
+extern "C" {

0 commit comments

Comments
 (0)