Remove USB time sync code when there's no RTC.
commitff1c5674172c4d0a5c420b8b20e7db0bd20f71ff
authorBoris Gjenero <dreamlayers@rockbox.org>
Fri, 16 Dec 2011 00:09:28 +0000 (16 00:09 +0000)
committerBoris Gjenero <dreamlayers@rockbox.org>
Fri, 16 Dec 2011 00:09:28 +0000 (16 00:09 +0000)
tree54b578a9390340df47be76b3efe0ecc5db66a148
parent6a032a2db19930925626536d4e117d29527148c6
Remove USB time sync code when there's no RTC.

Without an RTC, Rockbox doesn't keep time. In that situation, USB time sync
previously did nothing but reported success. After this change, the USB time
sync request won't be recognized on those targets.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31319 a1c6a512-1295-4272-9138-f99709370657
firmware/common/timefuncs.c
firmware/include/timefuncs.h
firmware/usbstack/usb_storage.c