summaryrefslogtreecommitdiff
path: root/shared-bindings/frequencyio
diff options
context:
space:
mode:
Diffstat (limited to 'shared-bindings/frequencyio')
-rw-r--r--shared-bindings/frequencyio/FrequencyIn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared-bindings/frequencyio/FrequencyIn.c b/shared-bindings/frequencyio/FrequencyIn.c
index 349ef7e97..6743f8706 100644
--- a/shared-bindings/frequencyio/FrequencyIn.c
+++ b/shared-bindings/frequencyio/FrequencyIn.c
@@ -87,7 +87,7 @@ STATIC mp_obj_t frequencyio_frequencyin_make_new(const mp_obj_type_t *type, size
mp_arg_val_t args[MP_ARRAY_SIZE(allowed_args)];
mp_arg_parse_all(n_args, pos_args, kw_args, MP_ARRAY_SIZE(allowed_args), allowed_args, args);
- mcu_pin_obj_t* pin = validate_is_free_pin(args[ARG_pin].u_obj);
+ mcu_pin_obj_t* pin = validate_obj_is_free_pin(args[ARG_pin].u_obj);
const uint16_t capture_period = args[ARG_capture_period].u_int;