diff options
author | Damien George <damien.p.george@gmail.com> | 2014-08-04 11:09:51 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-08-04 11:09:51 +0100 |
commit | ccacdf44b6c5241ce05769e777008767a7ed8939 (patch) | |
tree | 30dfaa47c94ad4cc321750169830a2d0cd603305 /stmhal/extint.h | |
parent | 8dbbbbc793554f920cf352b0e67da46abe3974cf (diff) |
stmhal: Clean up reset/soft-reset code; fix bug init'ing VCP exc.
Make a clearer distinction between init functions that must be done
before any scripts can run (xxx_init0) and those that can be safely
deferred (xxx_init).
Fix bug initialising USB VCP exception. Addresses issue #788.
Re-order some init function to improve reliability of
reset/soft-reset.
Diffstat (limited to 'stmhal/extint.h')
-rw-r--r-- | stmhal/extint.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stmhal/extint.h b/stmhal/extint.h index d15d1ef94..cae23959c 100644 --- a/stmhal/extint.h +++ b/stmhal/extint.h @@ -46,7 +46,7 @@ #define EXTI_TRIGGER_FALLING (offsetof(EXTI_TypeDef, FTSR)) #define EXTI_TRIGGER_RISING_FALLING (EXTI_TRIGGER_RISING + EXTI_TRIGGER_FALLING) // just different from RISING or FALLING -void extint_init(void); +void extint_init0(void); uint extint_register(mp_obj_t pin_obj, uint32_t mode, uint32_t pull, mp_obj_t callback_obj, bool override_callback_obj, void *param); |