Skip to content

Commit e29aa6a

Browse files
author
Michel JAOUEN
committed
Fix issue #2124: IAR no rtos
Remove the 2nd call of mbed_sdk_init in __iar_argc_argv
1 parent 57c28a9 commit e29aa6a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

hal/common/retarget.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -545,7 +545,6 @@ extern "C" int __wrap_main(void) {
545545
// code will call a function to setup argc and argv (__iar_argc_argv) if it is defined.
546546
// Since mbed doesn't use argc/argv, we use this function to call our mbed_main.
547547
extern "C" void __iar_argc_argv() {
548-
mbed_sdk_init();
549548
mbed_main();
550549
}
551550
#endif

0 commit comments

Comments
 (0)