Benjamin Valentin
6dbbc8f33a
cpu/lpc2387: rtc: remove _rtc_set()
...
Calling localtime() adds considerable overhead.
There are easier ways to set the date to 1970.
For tests/periph_rtc this results in this ROM change:
master:
text data bss dec hex
31328 240 98064 129632 1fa60
with this patch:
text data bss dec hex
20036 140 98168 118344 1ce48
2020-02-10 23:04:46 +01:00
..
2020-01-28 13:20:52 +01:00
2020-02-05 15:08:13 +01:00
2020-01-28 15:44:29 +01:00
2020-01-28 15:44:29 +01:00
2019-11-23 22:39:35 +01:00
2019-11-23 22:39:35 +01:00
2019-11-23 22:39:35 +01:00
2019-11-23 22:39:35 +01:00
2020-02-10 17:37:24 +01:00
2020-01-30 11:57:56 +01:00
2020-02-04 14:37:43 +01:00
2020-02-04 14:37:43 +01:00
2020-02-04 13:20:56 +01:00
2020-01-30 11:57:36 +01:00
2020-01-22 15:59:02 +01:00
2020-01-28 13:20:52 +01:00
2020-02-07 10:24:22 +01:00
2020-01-31 09:32:23 +01:00
2020-01-31 09:32:23 +01:00
2019-10-21 08:23:51 +02:00
2020-01-30 10:43:01 +01:00
2020-01-10 14:13:14 +01:00
2020-01-10 14:13:14 +01:00
2020-01-28 13:20:52 +01:00
2020-02-10 23:04:46 +01:00
2020-01-28 13:20:51 +01:00
2020-01-31 09:46:57 +01:00
2020-01-28 13:20:51 +01:00
2020-01-28 13:20:51 +01:00
2020-01-28 13:20:51 +01:00
2020-01-28 13:20:51 +01:00
2020-01-23 13:23:02 +01:00
2020-01-28 13:18:39 +01:00
2020-01-28 13:18:39 +01:00
2020-02-05 12:45:29 +01:00
2020-02-07 20:33:45 +01:00
2020-01-10 14:13:15 +01:00
2020-01-02 09:50:14 +01:00
2020-02-06 19:52:05 +01:00
2020-02-06 19:52:05 +01:00
2020-02-06 19:52:05 +01:00
2020-02-06 19:52:05 +01:00
2019-08-29 10:35:53 +02:00
2020-01-29 16:58:36 +01:00
2020-01-28 13:18:39 +01:00
2020-01-28 13:18:39 +01:00
2020-01-28 13:18:39 +01:00
2020-01-28 13:18:39 +01:00
2020-01-28 13:18:39 +01:00
2020-01-28 13:18:39 +01:00
2020-01-28 13:18:39 +01:00
2020-01-28 13:18:39 +01:00
2020-01-28 13:18:39 +01:00
2017-01-20 13:36:26 +01:00