Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
Software for White Rabbit PTP Core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
32
Issues
32
List
Board
Labels
Milestones
Merge Requests
6
Merge Requests
6
CI / CD
CI / CD
Pipelines
Schedules
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
Software for White Rabbit PTP Core
Commits
69c9b556
Commit
69c9b556
authored
May 09, 2013
by
Alessandro Rubini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
uart-sw: bugfix: write using uart-sw, not uart
Signed-off-by:
Alessandro Rubini
<
rubini@gnudd.com
>
parent
7ff210e5
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
uart-sw.c
dev/uart-sw.c
+2
-2
No files found.
dev/uart-sw.c
View file @
69c9b556
...
...
@@ -32,7 +32,7 @@ void uart_sw_write_byte(int b)
int
index
;
if
(
b
==
'\n'
)
uart_write_byte
(
'\r'
);
uart_
sw_
write_byte
(
'\r'
);
index
=
uart_sw_dev
.
nwritten
%
CONFIG_UART_SW_WSIZE
;
uart_sw_dev
.
wbuffer
[
index
]
=
b
;
...
...
@@ -46,7 +46,7 @@ int uart_sw_write_string(const char *s)
{
const
char
*
t
=
s
;
while
(
*
s
)
uart_write_byte
(
*
(
s
++
));
uart_
sw_
write_byte
(
*
(
s
++
));
return
s
-
t
;
}
...
...
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