Skip to content

Commit

Permalink
fx
Browse files Browse the repository at this point in the history
  • Loading branch information
openshwprojects committed Jan 11, 2025
1 parent e11018a commit 88993bc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/user_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1415,7 +1415,8 @@ void Main_Init_After_Delay()
#ifdef _MSC_VER
#pragma comment(linker, "/alternatename:HAL_PIN_Find=Default_HAL_PIN_Find")
#else
int HAL_PIN_Find(const char *name) __attribute__((weak)) {
int HAL_PIN_Find(const char *name) __attribute__((weak));
int HAL_PIN_Find(const char *name) {
return atoi(name);
}
#endif
Expand Down

0 comments on commit 88993bc

Please sign in to comment.