support wifi for xidatong-riscv64 on nuttx

This commit is contained in:
wgzAIIT
2022-10-28 20:48:05 +08:00
parent f9d4484a57
commit 7869538b1d
7 changed files with 97 additions and 13 deletions
@@ -101,8 +101,8 @@ void gpio_set_drive_mode(uint8_t pin, gpio_drive_mode_t mode)
int io_number = fpioa_get_io_by_function(K210_IO_FUNC_GPIO0 + pin);
DEBUGASSERT(io_number >= 0);
fpioa_pull_t pull;
uint32_t dir;
fpioa_pull_t pull = FPIOA_PULL_NONE;
uint32_t dir = 0;
switch(mode)
{