mbed library sources. Supersedes mbed-src. Fixed broken STM32F1xx RTC on rtc_api.c
Dependents: Nucleo_F103RB_RTC_battery_bkup_pwr_off_okay
Fork of mbed-dev by
Diff: targets/TARGET_NUVOTON/nu_modutil.c
- Revision:
- 172:7d866c31b3c5
- Parent:
- 149:156823d33999
diff -r 89b338f31ef1 -r 7d866c31b3c5 targets/TARGET_NUVOTON/nu_modutil.c --- a/targets/TARGET_NUVOTON/nu_modutil.c Wed Aug 16 18:27:13 2017 +0100 +++ b/targets/TARGET_NUVOTON/nu_modutil.c Thu Aug 31 17:27:04 2017 +0100 @@ -23,7 +23,7 @@ MBED_ASSERT(modprop_tab != NULL); const struct nu_modinit_s *modprop_ind = modprop_tab; while (modprop_ind->modname != NC) { - if (modname == modprop_ind->modname) { + if ((int) modname == modprop_ind->modname) { return modprop_ind; } else {