aboutsummaryrefslogtreecommitdiff
path: root/stmhal/sdcard.c
diff options
context:
space:
mode:
authorDamien George2014-03-30 13:35:08 +0100
committerDamien George2014-03-30 13:35:08 +0100
commitd17926db710189db97a49e9b2e72d782fc404231 (patch)
tree406396ee6f3010511a606dd4ea3ed5a817d959eb /stmhal/sdcard.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/sdcard.c')
-rw-r--r--stmhal/sdcard.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stmhal/sdcard.c b/stmhal/sdcard.c
index ae03c9f3f..84ee0b7b1 100644
--- a/stmhal/sdcard.c
+++ b/stmhal/sdcard.c
@@ -209,7 +209,7 @@ static MP_DEFINE_CONST_FUN_OBJ_1(sd_present_obj, sd_present);
static mp_obj_t sd_power(mp_obj_t self, mp_obj_t state) {
bool result;
- if (rt_is_true(state)) {
+ if (mp_obj_is_true(state)) {
result = sdcard_power_on();
} else {
sdcard_power_off();