File tree 3 files changed +16
-16
lines changed
3 files changed +16
-16
lines changed Original file line number Diff line number Diff line change @@ -42,22 +42,6 @@ extern USBDevice_SAMD21G18x usbd;
42
42
43
43
extern USBDeviceClass USBDevice;
44
44
45
- typedef struct {
46
- uint32_t dwDTERate;
47
- uint8_t bCharFormat;
48
- uint8_t bParityType;
49
- uint8_t bDataBits;
50
- uint8_t lineState;
51
- } LineInfo;
52
-
53
- static volatile LineInfo _usbLineInfo = {
54
- 115200 , // dWDTERate
55
- 0x00 , // bCharFormat
56
- 0x00 , // bParityType
57
- 0x08 , // bDataBits
58
- 0x00 // lineState
59
- };
60
-
61
45
static volatile int32_t breakValue = -1 ;
62
46
63
47
// CDC
Original file line number Diff line number Diff line change @@ -73,6 +73,14 @@ typedef struct
73
73
EndpointDescriptor out ;
74
74
} CDCDescriptor ;
75
75
76
+ typedef struct {
77
+ uint32_t dwDTERate ;
78
+ uint8_t bCharFormat ;
79
+ uint8_t bParityType ;
80
+ uint8_t bDataBits ;
81
+ uint8_t lineState ;
82
+ } LineInfo ;
83
+
76
84
77
85
#endif
78
86
#endif
Original file line number Diff line number Diff line change @@ -176,6 +176,14 @@ friend USBDeviceClass;
176
176
bool stalled;
177
177
unsigned int epType[3 ];
178
178
179
+ volatile LineInfo _usbLineInfo = {
180
+ 115200 , // dWDTERate
181
+ 0x00 , // bCharFormat
182
+ 0x00 , // bParityType
183
+ 0x08 , // bDataBits
184
+ 0x00 // lineState
185
+ };
186
+
179
187
};
180
188
extern Serial_ SerialUSB;
181
189
You can’t perform that action at this time.
0 commit comments