1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-24 22:13:52 +01:00
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
..
2018-06-11 19:12:02 +02:00
2019-11-23 22:39:36 +01:00
2015-05-18 07:10:52 +02:00
2017-04-14 14:36:16 +02:00
2019-10-28 11:11:40 +01:00
2019-11-28 11:33:03 +01:00
2019-11-23 22:39:36 +01:00
2015-08-14 16:50:41 +02:00