diff options
| author | Damien George | 2014-03-31 16:28:13 +0100 |
|---|---|---|
| committer | Damien George | 2014-03-31 16:28:13 +0100 |
| commit | 15d18069c50f7c02cb71417f3c4ffddff335fe70 (patch) | |
| tree | 28bdbb76f94f0da7dbf33a621f1e4a4ce35268b2 /stmhal | |
| parent | f78b6df1926367b903be1891e564151f099aefc7 (diff) | |
py: Remove old "run time" functions that were 1 liners.
Diffstat (limited to 'stmhal')
| -rw-r--r-- | stmhal/accel.c | 2 |
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); |
