Commit 38b38e2
committed
shared/tinyusb,extmod: Improve code organization and header declarations.
Consolidated extern declarations from scattered source locations into
mp_usbd.h header. Made descriptor buffer and function declarations
conditional on MICROPY_HW_ENABLE_USB_RUNTIME_DEVICE to match their
definitions. Removed dead code in descriptor.c.
No functional changes - build sizes unchanged at 514,396 bytes (runtime)
and 512,020 bytes (static).
Signed-off-by: Andrew Leech <[email protected]>
Signed-off-by: Andrew Leech <[email protected]>1 parent f3f9b46 commit 38b38e2
4 files changed
+9
-28
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
88 | 87 | | |
89 | 88 | | |
90 | 89 | | |
| |||
213 | 212 | | |
214 | 213 | | |
215 | 214 | | |
216 | | - | |
217 | 215 | | |
218 | 216 | | |
219 | 217 | | |
220 | 218 | | |
221 | | - | |
222 | 219 | | |
223 | 220 | | |
224 | 221 | | |
| |||
413 | 410 | | |
414 | 411 | | |
415 | 412 | | |
416 | | - | |
417 | | - | |
418 | 413 | | |
419 | 414 | | |
420 | 415 | | |
421 | 416 | | |
422 | | - | |
423 | 417 | | |
424 | 418 | | |
425 | 419 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
203 | 203 | | |
204 | 204 | | |
205 | 205 | | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
206 | 209 | | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
207 | 216 | | |
208 | 217 | | |
209 | 218 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
185 | | - | |
186 | | - | |
187 | | - | |
188 | | - | |
189 | | - | |
190 | | - | |
191 | | - | |
192 | | - | |
193 | | - | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | | - | |
198 | | - | |
199 | | - | |
200 | | - | |
201 | | - | |
202 | 185 | | |
203 | 186 | | |
204 | 187 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | 126 | | |
130 | 127 | | |
131 | 128 | | |
132 | 129 | | |
133 | 130 | | |
134 | 131 | | |
135 | 132 | | |
136 | | - | |
137 | 133 | | |
138 | 134 | | |
139 | 135 | | |
140 | | - | |
141 | 136 | | |
142 | 137 | | |
143 | 138 | | |
| |||
0 commit comments