From d17926db710189db97a49e9b2e72d782fc404231 Mon Sep 17 00:00:00 2001 From: Damien George Date: Sun, 30 Mar 2014 13:35:08 +0100 Subject: 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. --- stmhal/servo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stmhal/servo.c') diff --git a/stmhal/servo.c b/stmhal/servo.c index 595532858..4e8ff1543 100644 --- a/stmhal/servo.c +++ b/stmhal/servo.c @@ -157,7 +157,7 @@ STATIC void pyb_servo_print(void (*print)(void *env, const char *fmt, ...), void STATIC mp_obj_t pyb_servo_make_new(mp_obj_t type_in, uint n_args, uint n_kw, const mp_obj_t *args) { // check arguments - rt_check_nargs(n_args, 1, 1, n_kw, false); + mp_check_nargs(n_args, 1, 1, n_kw, false); // get servo number machine_int_t servo_id = mp_obj_get_int(args[0]) - 1; -- cgit v1.2.3