Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of mbed-src by
Diff: targets/hal/TARGET_STM/TARGET_STM32F3/gpio_object.h
- Revision:
- 544:1af5f1c39e80
- Parent:
- 508:4f5903e025e6
diff -r 9dba91c44009 -r 1af5f1c39e80 targets/hal/TARGET_STM/TARGET_STM32F3/gpio_object.h
--- a/targets/hal/TARGET_STM/TARGET_STM32F3/gpio_object.h Wed May 20 08:45:07 2015 +0100
+++ b/targets/hal/TARGET_STM/TARGET_STM32F3/gpio_object.h Thu May 21 09:45:08 2015 +0100
@@ -64,7 +64,8 @@
return ((*obj->reg_in & obj->mask) ? 1 : 0);
}
-static inline int gpio_is_connected(const gpio_t *obj) {
+static inline int gpio_is_connected(const gpio_t *obj)
+{
return obj->pin != (PinName)NC;
}
