Commit graph

3 commits

Author SHA1 Message Date
Eddie C. Dost
1f19c8009c fix warnings on 64bit for all debug output 2017-10-26 14:30:39 +02:00
Eddie C. Dost
d5239f657d merge Bug fix by Bruno-w (https://github.com/Bruno-w): RTC alarm wake-up
Because of the S3C2410 bug (INT_SRCPND_RTC not set on alarm wake-up), the
firmware need to check on power-on if an alarm is triggered by comparing the
alarm date to the system date.  But, It failed because the firmware read a
system date that is 1 second behind the alarm date, while the cpu was waked-up
by an alarm.  This is because x49gp uses 2 different functions to read host
system time in 2 key routines, leading to a 1 second gap when used consecutively.
This fix solved this issue.
2017-10-26 10:45:20 +02:00
Nicholas Kirchner
23b61d3ea5 Forked from revision 11 at http://sourceforge.net/p/x49gp/code/11/tree/ 2013-08-22 19:57:00 -05:00