// mtp.h - MTP Responder
#pragma once
#include "main.h"
namespace MTP {
extern struct devicestatus_t{
word wLength; // total length of status data
word Code; // 0x2001 = OK, 0x2019 = Busy, 0x201F = Transaction cancelled
byte Parameter1; // For device initiated cancels, this contains endpoint number
}devicestatus;
extern char extendedeventdata[8];
void pollUSB();
}
| Vorgefundene Kodierung: UTF-8 | 0 |