diff options
| author | mux <freelancer.c@gmail.com> | 2014-01-22 20:34:02 +0200 | 
|---|---|---|
| committer | mux <freelancer.c@gmail.com> | 2014-01-22 20:34:02 +0200 | 
| commit | 3c7e71fb002c71ba8de30ed377e98dfddd478e67 (patch) | |
| tree | 5df5c32d024e0192695a23bfae424970ef954995 /stm/main.c | |
| parent | 630d8ff89f6d2a950915c140cc6e420ab4d952cd (diff) | |
Fix Feature Macro Prefix
Diffstat (limited to 'stm/main.c')
| -rw-r--r-- | stm/main.c | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/stm/main.c b/stm/main.c index fe363eb71..4a16576f4 100644 --- a/stm/main.c +++ b/stm/main.c @@ -803,7 +803,7 @@ soft_reset:          rt_store_attr(m, MP_QSTR_switch, (mp_obj_t)&pyb_switch_obj);          rt_store_attr(m, MP_QSTR_servo, rt_make_function_n(2, pyb_servo_set));          rt_store_attr(m, MP_QSTR_pwm, rt_make_function_n(2, pyb_pwm_set)); -#if HAVE_MMA7660 +#if MICROPY_HW_HAS_MMA7660          rt_store_attr(m, MP_QSTR_accel, (mp_obj_t)&pyb_mma_read_obj);          rt_store_attr(m, MP_QSTR_mma_read, (mp_obj_t)&pyb_mma_read_all_obj);          rt_store_attr(m, MP_QSTR_mma_mode, (mp_obj_t)&pyb_mma_write_mode_obj); @@ -923,7 +923,7 @@ soft_reset:      //pyb_usbh_init();      if (first_soft_reset) { -#if HAVE_MMA7660 +#if MICROPY_HW_HAS_MMA7660          // MMA: init and reset address to zero          mma_init();  #endif @@ -954,7 +954,7 @@ soft_reset:      } -#if HAVE_MMA7660 +#if MICROPY_HW_HAS_MMA7660      // HID example      if (0) {          uint8_t data[4]; | 
