From 2fa107415737f4f9498cabd974320b51fbd15f33 Mon Sep 17 00:00:00 2001 From: laforge Date: Sun, 1 Oct 2006 20:33:38 +0000 Subject: initialize req_ctx state as free. git-svn-id: https://svn.openpcd.org:2342/trunk@246 6dc7ffe9-61d6-0310-9af1-9938baff3ed1 --- firmware/src/os/req_ctx.c | 1 + 1 file changed, 1 insertion(+) (limited to 'firmware') diff --git a/firmware/src/os/req_ctx.c b/firmware/src/os/req_ctx.c index 4902488..cd33ce4 100644 --- a/firmware/src/os/req_ctx.c +++ b/firmware/src/os/req_ctx.c @@ -90,6 +90,7 @@ void req_ctx_init(void) for (i = 0; i < NUM_RCTX_SMALL; i++) { req_ctx[i].size = RCTX_SIZE_SMALL; req_ctx[i].data = rctx_data[i]; + req_ctx[i].state = RCTX_STATE_FREE; } for (i = 0; i < NUM_RCTX_LARGE; i++) { -- cgit v1.2.3