#define GPIO 0x40E00000
#define GPIO_MEDIAQ 0x14040000
#define MQ_OFF 0x008
-\r
+
int GPIOalt[81],GPIOio[81],GPIOst[81],mediaq;
-\r
+
void SetGPIOio(int i,int io) // set GPIO as io == 1 output io == 0 input
{
UINT32 *gpio=(UINT32*)VirtualAlloc((void*)0x0,0x100, MEM_RESERVE,PAGE_READWRITE);