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
8418568a
Commit
8418568a
authored
Jan 30, 2021
by
Adam Wujek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lib/util.c: don't restore color at the end of cprintf and pcprintf
Signed-off-by:
Adam Wujek
<
adam.wujek@creotech.pl
>
parent
6004deb1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
util.c
lib/util.c
+0
-2
No files found.
lib/util.c
View file @
8418568a
...
...
@@ -97,7 +97,6 @@ void cprintf(int color, const char *fmt, ...)
va_start
(
ap
,
fmt
);
pp_vprintf
(
fmt
,
ap
);
va_end
(
ap
);
pp_printf
(
"\e[m"
);
}
void
pcprintf
(
int
row
,
int
col
,
int
color
,
const
char
*
fmt
,
...)
...
...
@@ -108,7 +107,6 @@ void pcprintf(int row, int col, int color, const char *fmt, ...)
va_start
(
ap
,
fmt
);
pp_vprintf
(
fmt
,
ap
);
va_end
(
ap
);
pp_printf
(
"\e[m"
);
}
void
__debug_printf
(
const
char
*
fmt
,
...)
...
...
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