fix f7 ci build

This commit is contained in:
hathach
2024-10-31 12:11:47 +07:00
parent 92e7ac6c23
commit 9897a36ac4
4 changed files with 17 additions and 13 deletions

View File

@@ -122,7 +122,7 @@ static board_pindef_t vbus_pindef[] = {
},
};
static inline void board_vbus_set(uint8_t rhport, bool state) {
void board_vbus_set(uint8_t rhport, bool state) {
static bool pin_inited[2] = { false, false };
board_pindef_t* pindef = &vbus_pindef[rhport];
if (!pin_inited[rhport]) {