summaryrefslogtreecommitdiff
path: root/stm/gpio.h
diff options
context:
space:
mode:
Diffstat (limited to 'stm/gpio.h')
-rw-r--r--stm/gpio.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/stm/gpio.h b/stm/gpio.h
index 1071c9ef0..f48e95347 100644
--- a/stm/gpio.h
+++ b/stm/gpio.h
@@ -1,4 +1,5 @@
-mp_obj_t pyb_gpio(uint n_args, mp_obj_t *args);
mp_obj_t pyb_gpio_input(mp_obj_t arg_pin, mp_obj_t arg_mode);
-mp_obj_t pyb_gpio_output(mp_obj_t arg_pin, mp_obj_t arg_mode);
-void gpio_init(mp_obj_t mod);
+
+MP_DECLARE_CONST_FUN_OBJ(pyb_gpio_obj);
+MP_DECLARE_CONST_FUN_OBJ(pyb_gpio_input_obj);
+MP_DECLARE_CONST_FUN_OBJ(pyb_gpio_output_obj);