Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
PPSi
Manage
Activity
Members
Labels
Plan
Issues
55
Issue boards
Milestones
Wiki
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor 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
Projects
PPSi
Commits
7632e812
Commit
7632e812
authored
10 years ago
by
Alessandro Rubini
Browse files
Options
Downloads
Patches
Plain Diff
arch-wrs: bugfix for non-wr builds (would fail at startup)
Signed-off-by:
Alessandro Rubini
<
rubini@gnudd.com
>
parent
ccbd7115
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
arch-wrs/wrs-startup.c
+5
-5
5 additions, 5 deletions
arch-wrs/wrs-startup.c
with
5 additions
and
5 deletions
arch-wrs/wrs-startup.c
+
5
−
5
View file @
7632e812
...
...
@@ -89,16 +89,16 @@ int main(int argc, char **argv)
usleep
(
WRSW_HAL_TIMEOUT
);
}
if
(
!
hal_ch
)
{
pp_printf
(
"
Fatal
: could not connect to HAL"
);
exit
(
__LINE__
);
if
(
BUILT_WITH_WHITERABBIT
&&
!
hal_ch
)
{
pp_printf
(
"
ppsi
: could not connect to HAL
RPC
"
);
exit
(
1
);
}
if
(
BUILT_WITH_WHITERABBIT
)
{
ppsi_ch
=
minipc_server_create
(
"ptpd"
,
0
);
if
(
!
ppsi_ch
)
{
/* FIXME should we retry ? */
pp_printf
(
"
Fatal
: could not create minipc server"
);
exit
(
__LINE__
);
pp_printf
(
"
ppsi
: could not create minipc server"
);
exit
(
1
);
}
wrs_init_ipcserver
(
ppsi_ch
);
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
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