forked from xuos/xiuos
fpioa_get_io_by_function change to k210_fpioa_get_io_by_function
This commit is contained in:
parent
92960a1c5d
commit
82af485b5f
|
@ -62,7 +62,7 @@
|
|||
void k210_gpio_set_direction(uint32_t io, gpio_drive_mode_t mode)
|
||||
{
|
||||
DEBUGASSERT(io < K210_GPIO_MAX_PINNO);
|
||||
int io_number = fpioa_get_io_by_function(K210_IO_FUNC_GPIO0 + io);
|
||||
int io_number = k210_fpioa_get_io_by_function(K210_IO_FUNC_GPIO0 + io);
|
||||
DEBUGASSERT(io_number >= 0);
|
||||
|
||||
fpioa_pull_t pull = FPIOA_PULL_NONE;
|
||||
|
|
Loading…
Reference in New Issue