Skip to content

Commit 547320e

Browse files
committed
Rename function st_rtc_localtime with _rtc_localtime
1 parent f880e44 commit 547320e

File tree

9 files changed

+9
-9
lines changed

9 files changed

+9
-9
lines changed

targets/TARGET_Atmel/TARGET_SAM_CortexM4/rtc_api.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ void rtc_write(time_t t)
8282
rtc_init();
8383
}
8484
struct tm timeinfo;
85-
if (st_rtc_localtime(t, &timeinfo) == false) {
85+
if (_rtc_localtime(t, &timeinfo) == false) {
8686
return;
8787
}
8888
uint32_t ul_hour, ul_minute, ul_second;

targets/TARGET_NUVOTON/TARGET_M451/rtc_api.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ void rtc_write(time_t t)
100100

101101
// Convert timestamp to struct tm
102102
struct tm timeinfo;
103-
if (st_rtc_localtime(t, &timeinfo) == false) {
103+
if (_rtc_localtime(t, &timeinfo) == false) {
104104
return;
105105
}
106106

targets/TARGET_NUVOTON/TARGET_NUC472/rtc_api.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ void rtc_write(time_t t)
100100

101101
// Convert timestamp to struct tm
102102
struct tm timeinfo;
103-
if (st_rtc_localtime(t, &timeinfo) == false) {
103+
if (_rtc_localtime(t, &timeinfo) == false) {
104104
return;
105105
}
106106

targets/TARGET_NXP/TARGET_LPC176X/rtc_api.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ time_t rtc_read(void) {
9797
void rtc_write(time_t t) {
9898
// Convert the time in to a tm
9999
struct tm timeinfo;
100-
if (st_rtc_localtime(t, &timeinfo) == false) {
100+
if (_rtc_localtime(t, &timeinfo) == false) {
101101
return;
102102
}
103103

targets/TARGET_NXP/TARGET_LPC408X/rtc_api.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ time_t rtc_read(void) {
9696
void rtc_write(time_t t) {
9797
// Convert the time in to a tm
9898
struct tm timeinfo;
99-
if (st_rtc_localtime(t, &timeinfo) == false) {
99+
if (_rtc_localtime(t, &timeinfo) == false) {
100100
return;
101101
}
102102

targets/TARGET_NXP/TARGET_LPC43XX/rtc_api.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ time_t rtc_read(void) {
110110
void rtc_write(time_t t) {
111111
// Convert the time in to a tm
112112
struct tm timeinfo;
113-
if (st_rtc_localtime(t, &timeinfo) == false) {
113+
if (_rtc_localtime(t, &timeinfo) == false) {
114114
return;
115115
}
116116

targets/TARGET_RENESAS/TARGET_RZ_A1H/rtc_api.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ static int rtc_dec16_to_hex(uint16_t dec_val, uint16_t offset, int *hex_val) {
305305
void rtc_write(time_t t) {
306306

307307
struct tm timeinfo;
308-
if (st_rtc_localtime(t, &timeinfo) == false) {
308+
if (_rtc_localtime(t, &timeinfo) == false) {
309309
return;
310310
}
311311
volatile uint16_t dummy_read;

targets/TARGET_RENESAS/TARGET_VK_RZ_A1H/rtc_api.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ static int rtc_dec16_to_hex(uint16_t dec_val, uint16_t offset, int *hex_val) {
339339
void rtc_write(time_t t) {
340340

341341
struct tm timeinfo;
342-
if (st_rtc_localtime(t, &timeinfo) == false) {
342+
if (_rtc_localtime(t, &timeinfo) == false) {
343343
return;
344344
}
345345
volatile uint16_t dummy_read;

targets/TARGET_STM/rtc_api.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ void rtc_write(time_t t)
254254

255255
// Convert the time into a tm
256256
struct tm timeinfo;
257-
if (st_rtc_localtime(t, &timeinfo) == false) {
257+
if (_rtc_localtime(t, &timeinfo) == false) {
258258
return;
259259
}
260260

0 commit comments

Comments
 (0)