diff options
| author | Dave Hylands | 2014-08-20 13:21:11 -0700 |
|---|---|---|
| committer | Dave Hylands | 2014-09-19 09:26:13 -0700 |
| commit | becbc87fd73c98664b472b4a06c2b54558dd5669 (patch) | |
| tree | 44b1e1daaab750fa2c10899bc9c3489ab4ec738f /stmhal/pin.c | |
| parent | 2842945e760c98793cb0c62a66345ab8850afc1a (diff) | |
Add Timer support (PWM, OC, IC) for stmhal and teensy
Diffstat (limited to 'stmhal/pin.c')
| -rw-r--r-- | stmhal/pin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stmhal/pin.c b/stmhal/pin.c index c96da794e..286e0992c 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: |
