diff options
author | Marcin Bukat <marcin.bukat@gmail.com> | 2018-11-05 13:01:55 +0100 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2020-04-06 18:15:41 +0200 |
commit | 180cef835bf40d0081895773aaa637ac926bb0ac (patch) | |
tree | 48c380d76c0ea40931cb5e863b40fc5dfa1ecba4 /firmware/target/hosted/rtc.c | |
parent | ced3a20aacf26642ccc3ffd136f64247c67e5769 (diff) | |
download | rockbox-180cef835bf40d0081895773aaa637ac926bb0ac.tar.gz rockbox-180cef835bf40d0081895773aaa637ac926bb0ac.zip |
xDuoo X3II and X20 port
Provided by Roman Stolyarov
Integration, Refactoring, and Upstreaming by Solomon Peachy
X3II confirmed working by forum tester, X20 is nearly identical.
This includes bootloader, main firmware, and the flash image patcher.
Eventual Todo:
* Further refactor AGPTek Rocker & xduoo hiby bootloaders
* Further refactor AGPTek Rocker & xduoo hosted platform code
Change-Id: I34a674051d368efcc75d1d18c725971fe46c3eee
Diffstat (limited to 'firmware/target/hosted/rtc.c')
-rw-r--r-- | firmware/target/hosted/rtc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/hosted/rtc.c b/firmware/target/hosted/rtc.c index 178e797a8d..488531c77c 100644 --- a/firmware/target/hosted/rtc.c +++ b/firmware/target/hosted/rtc.c | |||
@@ -42,7 +42,7 @@ int rtc_read_datetime(struct tm *tm) | |||
42 | 42 | ||
43 | int rtc_write_datetime(const struct tm *tm) | 43 | int rtc_write_datetime(const struct tm *tm) |
44 | { | 44 | { |
45 | #if defined(AGPTEK_ROCKER) && !defined(WIN32) | 45 | #if !defined(WIN32) |
46 | struct timeval tv; | 46 | struct timeval tv; |
47 | struct tm *tm_time; | 47 | struct tm *tm_time; |
48 | 48 | ||