aboutsummaryrefslogtreecommitdiff
path: root/stmhal
diff options
context:
space:
mode:
authorDamien George2014-03-31 16:28:13 +0100
committerDamien George2014-03-31 16:28:13 +0100
commit15d18069c50f7c02cb71417f3c4ffddff335fe70 (patch)
tree28bdbb76f94f0da7dbf33a621f1e4a4ce35268b2 /stmhal
parentf78b6df1926367b903be1891e564151f099aefc7 (diff)
py: Remove old "run time" functions that were 1 liners.
Diffstat (limited to 'stmhal')
-rw-r--r--stmhal/accel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stmhal/accel.c b/stmhal/accel.c
index ffccddc86..e8b73cdfb 100644
--- a/stmhal/accel.c
+++ b/stmhal/accel.c
@@ -134,7 +134,7 @@ STATIC mp_obj_t pyb_accel_filtered_xyz(mp_obj_t self_in) {
tuple[i] = mp_obj_new_int(val);
}
- return mp_build_tuple(3, tuple);
+ return mp_obj_new_tuple(3, tuple);
}
STATIC MP_DEFINE_CONST_FUN_OBJ_1(pyb_accel_filtered_xyz_obj, pyb_accel_filtered_xyz);