aboutsummaryrefslogtreecommitdiff
path: root/rpc_server.c
diff options
context:
space:
mode:
Diffstat (limited to 'rpc_server.c')
-rw-r--r--rpc_server.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/rpc_server.c b/rpc_server.c
index 9089aea..7b06780 100644
--- a/rpc_server.c
+++ b/rpc_server.c
@@ -755,10 +755,9 @@ void hal_rpc_server_dispatch(const uint8_t * const ibuf, const size_t ilen,
hal_xdr_encode_int(&optr, olimit, ret);
}
-#define MAX_PKT_SIZE 4096
#define interrupt 0
-static uint8_t inbuf[MAX_PKT_SIZE], outbuf[MAX_PKT_SIZE];
+static uint8_t inbuf[HAL_RPC_MAX_PKT_SIZE], outbuf[HAL_RPC_MAX_PKT_SIZE];
void hal_rpc_server_main(void)
{