Commit 5e04f092 authored by Adam Wujek's avatar Adam Wujek 💬 Committed by Alessandro Rubini

userspace/libwr: cleaning up hal_client (partially)

There are some conflicts that prevent a complete clean-up: functions
with the same name are defined in differnt palces. This applies to the
"halexp" things (hal export), for historical reasons: the function
being exported and the one that calls RPC have the same name but
different implementations.
parent 6ad82a56
......@@ -11,29 +11,6 @@
static struct minipc_ch *hal_ch;
int halexp_check_running()
{
//int res_int;
//return wripc_call(hal_ipc, "halexp_check_running", ;
return 0;
}
int halexp_reset_port(const char *port_name)
{
// TRACE(TRACE_INFO, "resetting port %s\n", port_name);
return 0;
}
int halexp_calibration_cmd(const char *port_name, int command, int on_off)
{
int ret, rval;
ret = minipc_call(hal_ch, DEFAULT_TO, &__rpcdef_calibration_cmd,
&rval, port_name, command, on_off);
if (ret < 0)
return ret;
return rval;
}
int halexp_lock_cmd(const char *port_name, int command, int priority)
{
int ret, rval;
......
Markdown is supported
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