diff options
author | Jean-Philippe Bernardy <jeanphilippe.bernardy@gmail.com> | 2005-02-13 17:06:35 +0000 |
---|---|---|
committer | Jean-Philippe Bernardy <jeanphilippe.bernardy@gmail.com> | 2005-02-13 17:06:35 +0000 |
commit | 3f818ac5941fdb483db9385b49523bfb86bba24a (patch) | |
tree | 180ad2e32c3d45a3cec04a31d6d16d0cf7f387a2 /firmware | |
parent | b3017c8701b9b4e4ed041e224d163e82f198c10c (diff) |
Gmini keep alive implemented
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5938 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/kernel.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/firmware/kernel.c b/firmware/kernel.c index 3eaf5e0af7..71daac1bd7 100644 --- a/firmware/kernel.c +++ b/firmware/kernel.c @@ -258,6 +258,12 @@ void TIMER0(void) { int i; + /* Keep alive (?) */ + if (current_tick % 2 == 0) + P8 |= 1; + else + P8 &= ~1; + /* Run through the list of tick tasks */ for(i = 0;i < MAX_NUM_TICK_TASKS;i++) { |