Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
ch32v003fun
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Andreas Horn
ch32v003fun
Commits
3ac43123
Commit
3ac43123
authored
1 year ago
by
cnlohr
Browse files
Options
Downloads
Patches
Plain Diff
Fix up changes from @bmx by making it work with the Link-E
parent
0ef88546
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
minichlink/pgm-wch-linke.c
+6
-3
6 additions, 3 deletions
minichlink/pgm-wch-linke.c
with
6 additions
and
3 deletions
minichlink/pgm-wch-linke.c
+
6
−
3
View file @
3ac43123
...
...
@@ -214,9 +214,12 @@ static int LESetupInterface( void * d )
case
4
:
fprintf
(
stderr
,
"WCH Programmer is LinkB version %d.%d
\n
"
,
rbuff
[
3
],
rbuff
[
4
]);
break
;
case
18
:
fprintf
(
stderr
,
"WCH Programmer is LinkE version %d.%d
\n
"
,
rbuff
[
3
],
rbuff
[
4
]);
break
;
default:
fprintf
(
stderr
,
"Unknown WCH Programmer %02x
\n
"
,
rbuff
[
5
]);
re
turn
-
1
;
fprintf
(
stderr
,
"Unknown WCH Programmer %02x
(Ver %d.%d)
\n
"
,
rbuff
[
5
],
rbuff
[
3
],
rbuff
[
4
]);
b
re
ak
;
}
// TODO: What in the world is this? It doesn't appear to be needed.
...
...
@@ -536,4 +539,4 @@ static int LEWriteBinaryBlob( void * d, uint32_t address_to_write, uint32_t len,
}
#endif
\ No newline at end of file
#endif
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