不必关WiFi

This commit is contained in:
james 2024-07-31 21:28:58 +08:00
parent 6ce2813f70
commit 6d24975144
1 changed files with 7 additions and 7 deletions

View File

@ -78,10 +78,10 @@ static int onboard_sdcard_mount(void)
return RT_EOK;
}
#define WIFI_CS GET_PIN(F, 10)
void WIFI_CS_PULL_DOWM(void)
{
rt_pin_mode(WIFI_CS, PIN_MODE_OUTPUT);
rt_pin_write(WIFI_CS, PIN_LOW);
}
INIT_BOARD_EXPORT(WIFI_CS_PULL_DOWM);
// #define WIFI_CS GET_PIN(F, 10)
// void WIFI_CS_PULL_DOWM(void)
// {
// rt_pin_mode(WIFI_CS, PIN_MODE_OUTPUT);
// rt_pin_write(WIFI_CS, PIN_LOW);
// }
// INIT_BOARD_EXPORT(WIFI_CS_PULL_DOWM);