Daniel Stenberg | 86bff1c | 2006-08-03 20:18:31 +0000 | [diff] [blame] | 1 | /*************************************************************************** |
| 2 | * __________ __ ___. |
| 3 | * Open \______ \ ____ ____ | | _\_ |__ _______ ___ |
| 4 | * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / |
| 5 | * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < |
| 6 | * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ |
| 7 | * \/ \/ \/ \/ \/ |
| 8 | * $Id$ |
| 9 | * |
| 10 | * Copyright (C) 2006 by Barry Wardell |
| 11 | * |
Daniel Stenberg | 2acc0ac | 2008-06-28 18:10:04 +0000 | [diff] [blame^] | 12 | * This program is free software; you can redistribute it and/or |
| 13 | * modify it under the terms of the GNU General Public License |
| 14 | * as published by the Free Software Foundation; either version 2 |
| 15 | * of the License, or (at your option) any later version. |
Daniel Stenberg | 86bff1c | 2006-08-03 20:18:31 +0000 | [diff] [blame] | 16 | * |
| 17 | * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY |
| 18 | * KIND, either express or implied. |
| 19 | * |
| 20 | ****************************************************************************/ |
Tomasz Malesinski | 29d8b91 | 2006-11-10 07:43:36 +0000 | [diff] [blame] | 21 | #include "config.h" |
| 22 | #include "cpu.h" |
| 23 | #include "kernel.h" |
| 24 | #include "thread.h" |
| 25 | #include "system.h" |
| 26 | #include "debug.h" |
| 27 | #include "ata.h" |
| 28 | #include "fat.h" |
| 29 | #include "disk.h" |
| 30 | #include "panic.h" |
| 31 | #include "lcd.h" |
| 32 | #include "adc.h" |
| 33 | #include "usb.h" |
| 34 | #include "button.h" |
| 35 | #include "sprintf.h" |
| 36 | #include "string.h" |
Daniel Stenberg | 86bff1c | 2006-08-03 20:18:31 +0000 | [diff] [blame] | 37 | |
Tomasz Malesinski | 29d8b91 | 2006-11-10 07:43:36 +0000 | [diff] [blame] | 38 | void usb_init_device(void) |
| 39 | { |
| 40 | } |
Daniel Stenberg | 86bff1c | 2006-08-03 20:18:31 +0000 | [diff] [blame] | 41 | |
Dave Chapman | 1672350 | 2007-09-04 08:03:07 +0000 | [diff] [blame] | 42 | int usb_detect(void) |
Tomasz Malesinski | 29d8b91 | 2006-11-10 07:43:36 +0000 | [diff] [blame] | 43 | { |
| 44 | /* TODO: Implement USB_ISP1582 */ |
Dave Chapman | 1672350 | 2007-09-04 08:03:07 +0000 | [diff] [blame] | 45 | return USB_EXTRACTED; |
Tomasz Malesinski | 29d8b91 | 2006-11-10 07:43:36 +0000 | [diff] [blame] | 46 | } |
| 47 | |
| 48 | void usb_enable(bool on) |
| 49 | { |
| 50 | /* TODO: Implement USB_ISP1582 */ |
| 51 | (void)on; |
| 52 | } |