Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
P
PPSi
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
50
Issues
50
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
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
PPSi
Commits
7632e812
Commit
7632e812
authored
Nov 26, 2014
by
Alessandro Rubini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
arch-wrs: bugfix for non-wr builds (would fail at startup)
Signed-off-by:
Alessandro Rubini
<
rubini@gnudd.com
>
parent
ccbd7115
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
wrs-startup.c
arch-wrs/wrs-startup.c
+5
-5
No files found.
arch-wrs/wrs-startup.c
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
);
}
...
...
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