diff options
Diffstat (limited to 'rpc_server.c')
-rw-r--r-- | rpc_server.c | 8 |
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; |