summaryrefslogtreecommitdiff
path: root/cesar/cp/cl_interf
diff options
context:
space:
mode:
authorlaranjeiro2009-06-30 13:27:47 +0000
committerlaranjeiro2009-06-30 13:27:47 +0000
commitee0c1fa1d167861409d87e7503b3a14444d5b126 (patch)
treeaf09d159ad847ade4b01be4a4a1135917b582644 /cesar/cp/cl_interf
parent52412274474b004b89c4655e8af0483ded692bf1 (diff)
*cp/cl_interf:
* Removed the if condition, to get a buffer it will wait 10 eCos ticks. git-svn-id: svn+ssh://pessac/svn/cesar/trunk@4861 017c9cb6-072f-447c-8318-d5b54f68fe89
Diffstat (limited to 'cesar/cp/cl_interf')
-rw-r--r--cesar/cp/cl_interf/src/cl_interf.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/cesar/cp/cl_interf/src/cl_interf.c b/cesar/cp/cl_interf/src/cl_interf.c
index 117fcc07bc..78f7b6b0b7 100644
--- a/cesar/cp/cl_interf/src/cl_interf.c
+++ b/cesar/cp/cl_interf/src/cl_interf.c
@@ -36,7 +36,7 @@
/** The number of loops before calling the cp sta core checkpoint function. */
#define CP_CL_INTERF_ITERATION_CHECKPOINT_CALL 10
/** The time in eCos ticks to wait before continuing the process. */
-#define CP_CL_INTERF_MBOX_GET_WAIT_ECOS_TICKS 1
+#define CP_CL_INTERF_MBOX_GET_WAIT_ECOS_TICKS 10
/**
* Initialise the module.
@@ -226,8 +226,7 @@ cp_cl_interf_get_buffer_tx (cp_t *ctx)
{
buffer = (u8 *) mbox_timed_get (&ctx->cl_interf.buffers_mbox,
CP_CL_INTERF_MBOX_GET_WAIT_ECOS_TICKS);
- if ((loop % CP_CL_INTERF_MBOX_GET_WAIT_ECOS_TICKS) == 0)
- cp_sta_core_checkpoint (ctx);
+ cp_sta_core_checkpoint (ctx);
}
CP_TRACE (CL_INTERF_GET_BUFFER_TX, mac_ntb(), buffer);