summaryrefslogtreecommitdiff
path: root/cesar/ce
diff options
context:
space:
mode:
authordufour2009-10-19 12:48:57 +0000
committerdufour2009-10-19 12:48:57 +0000
commit51876f6dc862807b31acb537e6ab2ec2b2e4d1ff (patch)
tree165da7a37ebbdbde7c8f78f834e159c241ee21e0 /cesar/ce
parent6ac576f870cc4d14a0866aaa27c86ea2420d1386 (diff)
cesar/ce/rx/bitloading: allow 5% of error for initial tone map generation
In commit r6059, in initial CE, we have forced to only do one iteration for the bitloading. But the consequence is that the tone map is less precise (some tones are not at their maximum). So we allow a certain percentage of errors. git-svn-id: svn+ssh://pessac/svn/cesar/trunk@6183 017c9cb6-072f-447c-8318-d5b54f68fe89
Diffstat (limited to 'cesar/ce')
-rw-r--r--cesar/ce/rx/bitloading/test/src/test_fsm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cesar/ce/rx/bitloading/test/src/test_fsm.c b/cesar/ce/rx/bitloading/test/src/test_fsm.c
index 92c2d24464..e1b4df8d4f 100644
--- a/cesar/ce/rx/bitloading/test/src/test_fsm.c
+++ b/cesar/ce/rx/bitloading/test/src/test_fsm.c
@@ -467,7 +467,7 @@ test_suite_ce_rx_bl_initial (test_t t)
#undef TONEMAP_READ_OPEN
#undef TONEMAP_READ_CLOSE
tonemap_free (tm);
- test_fail_if (tone_diff != 0);
+ test_fail_if (tone_diff > PHY_CARRIER_NB * 5 * 100);
} test_end;
/* Clean. */