aboutsummaryrefslogtreecommitdiff
path: root/rpc_server.c
diff options
context:
space:
mode:
authorPaul Selkirk <paul@psgd.org>2017-04-25 22:14:49 -0400
committerPaul Selkirk <paul@psgd.org>2017-04-25 22:14:49 -0400
commit18c297c5f88681236aec2537f7e7f2d9b50fcd7e (patch)
tree7dbbfa8c1f144e8c30cff8084f69f9efe47df217 /rpc_server.c
parent22a58216681df01d20cfa0a5cfc5c49d15e6c606 (diff)
adapt to the new experimental tasking system
Diffstat (limited to 'rpc_server.c')
-rw-r--r--rpc_server.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/rpc_server.c b/rpc_server.c
index 8d8af18..a01572e 100644
--- a/rpc_server.c
+++ b/rpc_server.c
@@ -966,13 +966,7 @@ hal_error_t hal_rpc_server_dispatch(const uint8_t * const ibuf, const size_t ile
}
if (handler)
- for (int i = 0; i < 3; ++i) {
- ret = handler(&iptr, ilimit, &optr, olimit);
- if (ret != HAL_ERROR_CORE_BUSY)
- break;
- iptr = ibuf + 4;
- optr = obuf + 12;
- }
+ ret = handler(&iptr, ilimit, &optr, olimit);
else
ret = HAL_ERROR_RPC_BAD_FUNCTION;