Git
Wiki
Site
projects
/
soft
/
tools
/
lpctools
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b56c241
)
Do not try to read part file for nul part id ...
author
Nathael Pajani
<nathael.pajani@ed3l.fr>
Sat, 16 Feb 2019 13:29:45 +0000
(14:29 +0100)
committer
Nathael Pajani
<nathael.pajani@ed3l.fr>
Sat, 16 Feb 2019 13:29:45 +0000
(14:29 +0100)
lpcprog.c
patch
|
blob
|
history
diff --git
a/lpcprog.c
b/lpcprog.c
index
58b41ef
..
a85158d
100644
(file)
--- a/
lpcprog.c
+++ b/
lpcprog.c
@@
-237,6
+237,10
@@
int main(int argc, char** argv)
printf("Unable to connect to target, consider hard reset of target or link\n");
return -1;
}
+ if (dev_id == 0) {
+ printf("Communication error, bad target id (0), please retry\n");
+ return -1;
+ }
if (command != NULL) {
int err = 0;
Techno-Innov
42 impasse de la Combe du Bois
01150 Blyes - France
contact@techno-innov.fr
Design et hébergement du site :
Techno-Innov
Techno-Innov
- SARL Coopérative
539 169 417 RCS Bourg-en-Bresse
Ce site n'utilise pas de cookies, désolé pour les gourmands !