mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-19 18:12:54 -05:00
1) Put USB in IRAM
2) Use defines from usb_drv.h git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17546 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
2ea6da1ebf
commit
7a8fc3fd9d
4 changed files with 14 additions and 22 deletions
|
|
@ -54,7 +54,7 @@ void usb_enable(bool on)
|
|||
usb_core_exit();
|
||||
}
|
||||
|
||||
void GIO7(void)
|
||||
void IRAM_ATTR GIO7(void)
|
||||
{
|
||||
#ifdef DEBUG
|
||||
//printf("GIO7 interrupt... [%d]", current_tick);
|
||||
|
|
|
|||
|
|
@ -69,7 +69,9 @@
|
|||
: : : "r12")
|
||||
//#define ZVM_SPECIFIC
|
||||
|
||||
#include "kernel.h"
|
||||
#define USE_IRAM
|
||||
|
||||
#include <stdbool.h>
|
||||
int usb_detect(void);
|
||||
void usb_init_device(void);
|
||||
bool usb_drv_connected(void);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue