From afbcc80972c175003d51c7a87015d597257efbbe Mon Sep 17 00:00:00 2001 From: XANTRONIX Development Date: Wed, 16 Mar 2022 00:26:47 -0400 Subject: Rename xas_object_set_bank() to set_entry() --- src/object.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/object.c b/src/object.c index 70271c1..3c8c84a 100644 --- a/src/object.c +++ b/src/object.c @@ -37,14 +37,14 @@ int xas_object_set_gain(xas_object *object, float gain) { return object->set_gain(object, gain); } -int xas_object_set_bank(xas_object *object, size_t bank) { - if (object->set_bank == NULL) { +int xas_object_set_entry(xas_object *object, size_t entry) { + if (object->set_entry == NULL) { errno = ENOSYS; return -1; } - return object->set_bank(object, bank); + return object->set_entry(object, entry); } int xas_object_set_freq(xas_object *object, size_t freq) { -- cgit v1.2.3