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
bb124ac4
Commit
bb124ac4
authored
Oct 29, 2012
by
Zygmunt Krynicki
Browse files
send_flash_verify: re-indent statement
parent
789ad948
Changes
1
Hide whitespace changes
Inline
Side-by-side
lm4flash/lm4flash.c
View file @
bb124ac4
...
...
@@ -331,15 +331,14 @@ static int send_flash_verify(libusb_device_handle *handle, const uint32_t addr,
for
(
i
=
0
;
i
<
transfered
;
i
++
)
{
switch
(
by
=
buf
.
u8
[
i
])
{
case
'}'
:
by
=
buf
.
u8
[
++
i
]
^
0x20
;
/* fall through */
default:
if
(
bp
>=
rawbuf
+
sizeof
(
rawbuf
))
return
LIBUSB_ERROR_NO_MEM
;
*
bp
++
=
by
;
break
;
case
'}'
:
by
=
buf
.
u8
[
++
i
]
^
0x20
;
/* fall through */
default:
if
(
bp
>=
rawbuf
+
sizeof
(
rawbuf
))
return
LIBUSB_ERROR_NO_MEM
;
*
bp
++
=
by
;
break
;
}
}
...
...
Write
Preview
Markdown
is supported
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