Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
triazo
/
kernel
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
3
Merge Requests
0
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
a3051ccb
authored
Oct 17, 2015
by
triazo
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Fix bug in serial_hexword
parent
dd9209b7
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
src/serial.c
src/serial.c
View file @
a3051ccb
...
...
@@ -41,7 +41,7 @@ void serial_writestring(char* s)
const
char
*
hexchars
=
"0123456789abcdef"
;
void
serial_hexword
(
uint32_t
x
)
{
for
(
int
i
=
8
;
i
!=
0
;
i
--
)
for
(
int
i
=
7
;
i
>=
0
;
i
--
)
{
serial_writechar
(
hexchars
[
x
>>
i
*
4
&
0xf
]);
}
...
...
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