diff options
author | Daniel Stenberg <daniel@haxx.se> | 2002-08-21 17:24:42 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2002-08-21 17:24:42 +0000 |
commit | 42564a1b993c9740ff3558597780abf3003cd7c5 (patch) | |
tree | 894ce2488ad2a6a63b67985be4f5c970d10de4bc /uisimulator/common | |
parent | 6b8cf08b6de5ba0e76f32d47d045874dfed17bee (diff) |
USB display for simulator purpose
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1892 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator/common')
-rw-r--r-- | uisimulator/common/stubs.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/uisimulator/common/stubs.c b/uisimulator/common/stubs.c index 1446b82a4d..35c5a2e430 100644 --- a/uisimulator/common/stubs.c +++ b/uisimulator/common/stubs.c @@ -19,6 +19,9 @@ #include <stdio.h> #include "debug.h" +#include "usb.h" +#include "button.h" + void backlight_on(void) { /* we could do something better here! */ @@ -84,3 +87,9 @@ void ata_delayed_write(unsigned long sector, void* buf) void ata_flush(void) { } + +void simulate_usb(void) +{ + usb_display_info(); + button_get(true); +} |