This commit is contained in:
2024-07-30 14:49:27 +08:00
parent 191f4a4877
commit c765ad513a
5 changed files with 17 additions and 11 deletions

View File

@@ -21,12 +21,12 @@ int main(void)
return 0;
}
#define WIFI_CS GET_PIN(F,10)
void WIFI_CS_PULL_DOWN(void)
{
rt_pin_mode(WIFI_CS, PIN_MODE_OUTPUT);
rt_pin_write(WIFI_CS, PIN_LOW);
}
INIT_BOARD_EXPORT(WIFI_CS_PULL_DOWN);
// #define WIFI_CS GET_PIN(F,10)
// void WIFI_CS_PULL_DOWN(void)
// {
// rt_pin_mode(WIFI_CS, PIN_MODE_OUTPUT);
// rt_pin_write(WIFI_CS, PIN_LOW);
// }
// INIT_BOARD_EXPORT(WIFI_CS_PULL_DOWN);