File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed
hardware/arduino/avr/cores/arduino Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -36,9 +36,9 @@ static u8 modules_count = 0;
36
36
static PUSBListNode* rootNode = NULL ;
37
37
static PUSBListNode* lastNode = NULL ;
38
38
39
- int8_t PUSB_GetInterface (u8 * interfaceNum)
39
+ int PUSB_GetInterface (u8 * interfaceNum)
40
40
{
41
- int8_t ret = 0 ;
41
+ int ret = 0 ;
42
42
PUSBListNode* node = rootNode;
43
43
for (u8 i=0 ; i<modules_count; i++) {
44
44
ret = node->cb ->getInterface (interfaceNum);
@@ -47,9 +47,9 @@ int8_t PUSB_GetInterface(u8* interfaceNum)
47
47
return ret;
48
48
}
49
49
50
- int8_t PUSB_GetDescriptor (int8_t t)
50
+ int PUSB_GetDescriptor (int8_t t)
51
51
{
52
- int8_t ret = 0 ;
52
+ int ret = 0 ;
53
53
PUSBListNode* node = rootNode;
54
54
for (u8 i=0 ; i<modules_count && ret == 0 ; i++) {
55
55
ret = node->cb ->getDescriptor (t);
Original file line number Diff line number Diff line change 28
28
typedef struct
29
29
{
30
30
bool (*setup)(Setup& setup, u8 i);
31
- int8_t (*getInterface)(u8 * interfaceNum);
32
- int8_t (*getDescriptor)(int8_t t);
31
+ int (*getInterface)(u8 * interfaceNum);
32
+ int (*getDescriptor)(int8_t t);
33
33
int8_t numEndpoints;
34
34
int8_t numInterfaces;
35
35
uint8_t *endpointType;
@@ -50,9 +50,9 @@ class PUSBListNode {
50
50
51
51
int8_t PUSB_AddFunction (PUSBListNode *node, u8 *interface);
52
52
53
- int8_t PUSB_GetInterface (u8 * interfaceNum);
53
+ int PUSB_GetInterface (u8 * interfaceNum);
54
54
55
- int8_t PUSB_GetDescriptor (int8_t t);
55
+ int PUSB_GetDescriptor (int8_t t);
56
56
57
57
bool PUSB_Setup (Setup& setup, u8 i);
58
58
You can’t perform that action at this time.
0 commit comments