diff options
| author | Damien George | 2016-10-18 09:53:43 +1100 |
|---|---|---|
| committer | Damien George | 2016-10-18 09:53:43 +1100 |
| commit | 50ddaafa6acf5fbbe6f98e64fd5744a9a8347aff (patch) | |
| tree | befec1a67de032a774fc8f785145f51859b8bf7a /cc3200/hal/cc3200_hal.c | |
| parent | 4d45f286ebab62fd7c7b524bdfcdf58522b911c8 (diff) | |
cc3200: Use mp_raise_XXX helper functions to reduce code size.
Reduces code size by 632 bytes.
Diffstat (limited to 'cc3200/hal/cc3200_hal.c')
| -rw-r--r-- | cc3200/hal/cc3200_hal.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/cc3200/hal/cc3200_hal.c b/cc3200/hal/cc3200_hal.c index f4d38d120..37026db14 100644 --- a/cc3200/hal/cc3200_hal.c +++ b/cc3200/hal/cc3200_hal.c @@ -130,10 +130,6 @@ void mp_hal_delay_ms(mp_uint_t delay) { } } -NORETURN void mp_hal_raise(int errno) { - nlr_raise(mp_obj_new_exception_arg1(&mp_type_OSError, mp_obj_new_int(errno))); -} - void mp_hal_set_interrupt_char (int c) { mpexception_set_interrupt_char (c); } |
