summaryrefslogtreecommitdiffstatshomepage
path: root/stmhal/pin.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-09-21 22:56:07 +0100
committerDamien George <damien.p.george@gmail.com>2014-09-21 22:56:07 +0100
commitc95359ecc6bac0181d9332f12f21682786e1fbb1 (patch)
treea7d15cf3e8ba61f441fa184bd8a6659df1d8c0ce /stmhal/pin.c
parent2842945e760c98793cb0c62a66345ab8850afc1a (diff)
parent0e58c5810de2717f9707e9eef82cd57a43468a60 (diff)
downloadmicropython-c95359ecc6bac0181d9332f12f21682786e1fbb1.tar.gz
micropython-c95359ecc6bac0181d9332f12f21682786e1fbb1.zip
Merge branch 'dhylands-timer-pwm2'
Diffstat (limited to 'stmhal/pin.c')
-rw-r--r--stmhal/pin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stmhal/pin.c b/stmhal/pin.c
index c96da794e6..286e0992c0 100644
--- a/stmhal/pin.c
+++ b/stmhal/pin.c
@@ -413,7 +413,7 @@ STATIC mp_obj_t pin_obj_init_helper(const pin_obj_t *self, mp_uint_t n_args, con
STATIC mp_obj_t pin_obj_init(mp_uint_t n_args, const mp_obj_t *args, mp_map_t *kw_args) {
return pin_obj_init_helper(args[0], n_args - 1, args + 1, kw_args);
}
-STATIC MP_DEFINE_CONST_FUN_OBJ_KW(pin_init_obj, 1, pin_obj_init);
+MP_DEFINE_CONST_FUN_OBJ_KW(pin_init_obj, 1, pin_obj_init);
/// \method value([value])
/// Get or set the digital logic level of the pin: