Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
cta
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Harbor Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
dCache
cta
Commits
0010995d
Commit
0010995d
authored
3 years ago
by
Joao Afonso
Browse files
Options
Downloads
Patches
Plain Diff
Fix escape character code on SMC command header color
parent
7176a133
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
mediachanger/castorrmc/rmc/smc.c
+4
-4
4 additions, 4 deletions
mediachanger/castorrmc/rmc/smc.c
with
4 additions
and
4 deletions
mediachanger/castorrmc/rmc/smc.c
+
4
−
4
View file @
0010995d
...
...
@@ -67,7 +67,7 @@ void smc_qdrive_humanPrint(const struct robot_info *const robot_info,
const
int
useSpectraLib
)
{
char
*
pstatus
;
int
i
;
printf
(
TEXT_RED
"Drive Ordinal
\t
Element Addr.
\t
Status Vid
\n
"
TEXT_NORMAL
);
printf
(
TEXT_RED
"Drive Ordinal
\t
Element Addr.
\t
Status Vid"
TEXT_NORMAL
"
\n
"
);
for
(
i
=
0
;
i
<
numberOfElements
;
i
++
)
{
if
(((
element_info
+
i
)
->
state
&
0x1
)
==
0
)
pstatus
=
"free"
;
...
...
@@ -202,7 +202,7 @@ void smc_qport_humanPrint(const struct smc_element_info *const element_info,
const
int
numberOfElements
)
{
char
*
pstatus
;
int
i
;
printf
(
TEXT_RED
"Element Addr.
\t
Vid
\t
ImpExp
\n
"
TEXT_NORMAL
);
printf
(
TEXT_RED
"Element Addr.
\t
Vid
\t
ImpExp"
TEXT_NORMAL
"
\n
"
);
for
(
i
=
0
;
i
<
numberOfElements
;
i
++
)
{
if
(((
element_info
+
i
)
->
state
&
0x1
)
==
0
)
pstatus
=
""
;
...
...
@@ -274,7 +274,7 @@ static int smc_qport (
void
smc_qslot_humanPrint
(
const
struct
smc_element_info
*
element_info
,
const
int
numberOfElements
)
{
int
i
;
printf
(
TEXT_RED
"Element Addr.
\t
Vid
\n
"
TEXT_NORMAL
);
printf
(
TEXT_RED
"Element Addr.
\t
Vid"
TEXT_NORMAL
"
\n
"
);
for
(
i
=
0
;
i
<
numberOfElements
;
i
++
)
{
printf
(
" %4d
\t
%s
\n
"
,
element_info
[
i
].
element_address
,
element_info
[
i
].
name
);
...
...
@@ -340,7 +340,7 @@ void smc_qvid_humanPrint(const struct smc_element_info *const element_info,
int
i
;
char
*
ptype
;
char
ptypes
[
5
][
6
]
=
{
""
,
"hand"
,
"slot"
,
"port"
,
"drive"
};
printf
(
TEXT_RED
"Vid
\t
Element Addr.
\t
Element Type
\n
"
TEXT_NORMAL
);
printf
(
TEXT_RED
"Vid
\t
Element Addr.
\t
Element Type"
TEXT_NORMAL
"
\n
"
);
for
(
i
=
0
;
i
<
numberOfElements
;
i
++
)
{
ptype
=
ptypes
[(
element_info
+
i
)
->
element_type
];
if
((
element_info
+
i
)
->
element_type
==
3
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment