diff options
| author | Martino Facchin <m.facchin@arduino.cc> | 2015-06-08 11:30:34 +0200 | 
|---|---|---|
| committer | Cristian Maglie <c.maglie@arduino.cc> | 2015-07-16 13:12:14 +0200 | 
| commit | 353ef39c23c7c9561fc5357d460c2d9cb3c4f320 (patch) | |
| tree | 758a2647d4deb0f73ed6b2d08e962078655af374 /cores/arduino/PluggableUSB.h | |
| parent | a1ba49e7c8d1067d3f0a87d54aedd2a746fe3342 (diff) | |
remove useless variables
Diffstat (limited to 'cores/arduino/PluggableUSB.h')
| -rw-r--r-- | cores/arduino/PluggableUSB.h | 12 | 
1 files changed, 6 insertions, 6 deletions
| diff --git a/cores/arduino/PluggableUSB.h b/cores/arduino/PluggableUSB.h index 7b3722c..877a9b0 100644 --- a/cores/arduino/PluggableUSB.h +++ b/cores/arduino/PluggableUSB.h @@ -28,9 +28,9 @@  typedef struct  {    bool (*setup)(Setup& setup, u8 i); -  int (*getInterface)(u8* interfaceNum); -  int (*getDescriptor)(int t); -  int numEndpoints; +  int8_t (*getInterface)(u8* interfaceNum); +  int8_t (*getDescriptor)(int8_t t); +  int8_t numEndpoints;    u8 endpointType[6];  } PUSBCallbacks; @@ -40,11 +40,11 @@ typedef struct    u8 firstEndpoint;  } PUSBReturn; -int PUSB_AddFunction(PUSBCallbacks *cb, u8 *interface); +int8_t PUSB_AddFunction(PUSBCallbacks *cb, u8 *interface); -int PUSB_GetInterface(u8* interfaceNum); +int8_t PUSB_GetInterface(u8* interfaceNum); -int PUSB_GetDescriptor(int t); +int8_t PUSB_GetDescriptor(int8_t t);  bool PUSB_Setup(Setup& setup, u8 i); | 
