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/gpio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stmhal/gpio.c') 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; } -- cgit v1.2.3