diff options
| author | Dave Hylands | 2014-08-24 12:21:12 -0700 |
|---|---|---|
| committer | Damien George | 2014-08-25 12:22:11 +0100 |
| commit | 9480138f0c917b2400991066e94636f7d8076a4c (patch) | |
| tree | d934be3cfd588ec510988371d0d8c891b48db6d3 /stmhal/main.c | |
| parent | 7310fd469a4dfdd38fda242f138f5671c2f82b61 (diff) | |
Add save/restore_irq
Factored irq functions into a separate file.
Diffstat (limited to 'stmhal/main.c')
| -rw-r--r-- | stmhal/main.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/stmhal/main.c b/stmhal/main.c index b735f49bc..a34ffab32 100644 --- a/stmhal/main.c +++ b/stmhal/main.c @@ -119,14 +119,6 @@ void MP_WEAK __assert_func(const char *file, int line, const char *func, const c } #endif -void enable_irq(void) { - __enable_irq(); -} - -void disable_irq(void) { - __disable_irq(); -} - STATIC mp_obj_t pyb_config_main = MP_OBJ_NULL; STATIC mp_obj_t pyb_config_usb_mode = MP_OBJ_NULL; |
