aboutsummaryrefslogtreecommitdiff
path: root/stmhal/gpio.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/gpio.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/gpio.c')
-rw-r--r--stmhal/gpio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stmhal/gpio.c b/stmhal/gpio.c
index be1249b37..4548dca58 100644
--- a/stmhal/gpio.c
+++ b/stmhal/gpio.c
@@ -27,7 +27,7 @@ mp_obj_t pyb_gpio(uint n_args, mp_obj_t *args) {
}
// set pin
- HAL_GPIO_WritePin(pin->gpio, pin->pin_mask, rt_is_true(args[1]));
+ HAL_GPIO_WritePin(pin->gpio, pin->pin_mask, mp_obj_is_true(args[1]));
return mp_const_none;
}