Skip to content
Snippets Groups Projects
Commit 41b4d3ad authored by graham sanderson's avatar graham sanderson
Browse files

rename gpio_set_function_mask to gpio_set_function_masked to match naming...

rename gpio_set_function_mask to gpio_set_function_masked to match naming schema of other gpio functions
parent 7c5b426a
Branches
Tags
No related merge requests found
......@@ -270,7 +270,7 @@ void gpio_init_mask(uint gpio_mask) {
}
}
void gpio_set_function_mask(uint gpio_mask, enum gpio_function fn) {
void gpio_set_function_masked(uint gpio_mask, enum gpio_function fn) {
for (uint i = 0; i < NUM_BANK0_GPIOS; i++) {
if (gpio_mask & 1) {
gpio_set_function(i, fn);
......
......@@ -192,7 +192,7 @@ void gpio_set_function(uint gpio, enum gpio_function fn);
* \param gpio_mask Mask with 1 bit per GPIO number to set the function for
* \param fn Which GPIO function select to use from list \ref gpio_function
*/
void gpio_set_function_mask(uint gpio_mask, enum gpio_function fn);
void gpio_set_function_masked(uint gpio_mask, enum gpio_function fn);
/*! \brief Determine current GPIO function
* \ingroup hardware_gpio
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment