summaryrefslogtreecommitdiff
path: root/stmhal/usrsw.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-03-30 13:35:08 +0100
committerDamien George <damien.p.george@gmail.com>2014-03-30 13:35:08 +0100
commitd17926db710189db97a49e9b2e72d782fc404231 (patch)
tree406396ee6f3010511a606dd4ea3ed5a817d959eb /stmhal/usrsw.c
parent09d207785c77c85c957471b064ceebe0d2ee0a23 (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 'stmhal/usrsw.c')
-rw-r--r--stmhal/usrsw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stmhal/usrsw.c b/stmhal/usrsw.c
index 038fbf9ef..453c3dfa8 100644
--- a/stmhal/usrsw.c
+++ b/stmhal/usrsw.c
@@ -33,7 +33,7 @@ static mp_obj_t switch_user_callback_obj;
static mp_obj_t switch_callback(mp_obj_t line) {
if (switch_user_callback_obj != mp_const_none) {
- rt_call_function_0(switch_user_callback_obj);
+ mp_call_function_0(switch_user_callback_obj);
}
return mp_const_none;
}