Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
Arduino Core for SAMD21 CPU
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
josc941e
Arduino Core for SAMD21 CPU
Commits
e1c9e646
Unverified
Commit
e1c9e646
authored
9 years ago
by
Thibaut VIARD
Browse files
Options
Downloads
Patches
Plain Diff
[bl] fix power failure in usb descriptor
parent
0fd8b8b3
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bootloaders/zero/sam_ba_usb.c
+2
-2
2 additions, 2 deletions
bootloaders/zero/sam_ba_usb.c
with
2 additions
and
2 deletions
bootloaders/zero/sam_ba_usb.c
+
2
−
2
View file @
e1c9e646
...
...
@@ -58,8 +58,8 @@ char cfgDescriptor[] =
0x02
,
// CbNumInterfaces
0x01
,
// CbConfigurationValue
0x00
,
// CiConfiguration
0xC0
,
// CbmAttributes
0xA
0
0x
00
,
// CMaxPower
0xC0
,
// CbmAttributes
Bus powered without remote wakeup: 0xc0, Self powered with remote wakeup: 0xa
0
0x
32
,
// CMaxPower
, report using 100mA, enough for a bootloader
/* Communication Class Interface Descriptor Requirement */
0x09
,
// bLength
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment