Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ti-connected-launchpad
lm4tools_public
Commits
a084024e
Commit
a084024e
authored
Aug 16, 2014
by
Jacko Dirks
Browse files
Fixed build all, fixed program not returning errorcode in some cases of failure.
parent
979f4221
Changes
2
Show whitespace changes
Inline
Side-by-side
lm4flash/Makefile
View file @
a084024e
...
...
@@ -3,7 +3,7 @@ EXE := lm4flash
CFLAGS
:=
-Wall
$(
shell
pkg-config
--cflags
libusb-1.0
)
LDFLAGS
:=
$(
shell
pkg-config
--libs
libusb-1.0
)
all
:
C
L
FAGS += -O2
all
:
CF
L
AGS += -O2
all
:
$(EXE)
debug
:
CFLAGS += -g -DDEBUG
...
...
lm4flash/lm4flash.c
View file @
a084024e
...
...
@@ -730,7 +730,7 @@ static int flasher_flash(const char *serial, const char *rom_name)
goto
done
;
}
switch
(
flasher_find_matching_device
(
switch
(
retval
=
flasher_find_matching_device
(
ctx
,
&
device
,
&
retval
,
ICDI_VID
,
ICDI_PID
,
serial
))
{
case
FLASHER_SUCCESS
:
break
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment