mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-07 13:45:03 -05:00
Creative ZEN: fix RTC regression
Creative ZEN lost it's time when shutting down. The bug was introduced with commit7f282b9280(g#2601), followed bye3f6e9d9f6(g#2616). I guarded all persistent register writes with wait loops, as described in the datasheet. TODO: test SONY_NWZE360 and SONY_NWZE370 targets Change-Id: Ib38ab8691fd1c6e8d0771c1e2eca20dfeb6fc87f
This commit is contained in:
parent
69bc230e7d
commit
297af3a483
2 changed files with 13 additions and 2 deletions
|
|
@ -28,8 +28,8 @@
|
|||
|
||||
#define YEAR1980 315532800 /* 1980/1/1 00:00:00 in UTC */
|
||||
|
||||
#if defined(SANSA_FUZEPLUS) || defined(CREATIVE_ZENXFI3) || defined(SONY_NWZE360) || \
|
||||
defined(SONY_NWZE370)
|
||||
#if defined(SANSA_FUZEPLUS) || defined(SONY_NWZE360) || defined(SONY_NWZE370) || \
|
||||
defined(CREATIVE_ZENXFI2) || defined(CREATIVE_ZENXFI3)
|
||||
#define USE_PERSISTENT
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue