diff options
| author | Damien George | 2014-03-30 13:35:08 +0100 |
|---|---|---|
| committer | Damien George | 2014-03-30 13:35:08 +0100 |
| commit | d17926db710189db97a49e9b2e72d782fc404231 (patch) | |
| tree | 406396ee6f3010511a606dd4ea3ed5a817d959eb /stm/accel.c | |
| parent | 09d207785c77c85c957471b064ceebe0d2ee0a23 (diff) | |
Rename rt_* to mp_*.
Mostly just a global search and replace. Except rt_is_true which
becomes mp_obj_is_true.
Still would like to tidy up some of the names, but this will do for now.
Diffstat (limited to 'stm/accel.c')
| -rw-r--r-- | stm/accel.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/stm/accel.c b/stm/accel.c index ae9d58868..c55bc6ba2 100644 --- a/stm/accel.c +++ b/stm/accel.c @@ -268,7 +268,7 @@ mp_obj_t pyb_accel_read(void) { data[2] = mp_obj_new_int(accel_buf[2] + accel_buf[5] + accel_buf[8] + accel_buf[11]); data[3] = mp_obj_new_int(jolt_info); - return rt_build_tuple(4, data); + return mp_build_tuple(4, data); } MP_DEFINE_CONST_FUN_OBJ_0(pyb_accel_read_obj, pyb_accel_read); @@ -283,7 +283,7 @@ mp_obj_t pyb_accel_read_all(void) { } data[10] = mp_obj_new_int(accel_read_nack()); - return rt_build_tuple(11, data); + return mp_build_tuple(11, data); } MP_DEFINE_CONST_FUN_OBJ_0(pyb_accel_read_all_obj, pyb_accel_read_all); |
