Skip to content
Snippets Groups Projects
Commit 7632e812 authored by Alessandro Rubini's avatar Alessandro Rubini
Browse files

arch-wrs: bugfix for non-wr builds (would fail at startup)


Signed-off-by: default avatarAlessandro Rubini <rubini@gnudd.com>
parent ccbd7115
No related merge requests found
......@@ -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);
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment