1
0
mirror of https://github.com/CovidBraceletPrj/CovidBracelet.git synced 2024-12-05 00:55:43 +01:00

Fix wrong config variable naming

This commit is contained in:
H1ghBre4k3r 2021-12-10 14:00:46 +01:00 committed by Patrick Rathje
parent 22697403f7
commit 790064be7f
2 changed files with 5 additions and 4 deletions

View File

@ -265,13 +265,13 @@ int init_contacts() {
setup_test_data();
// setup our ordered array with infected RPIs
static infected_for_interval_ident_ctx_t infectedIntervals[CONTACTS_RISC_CHECK_TEST_PUBLIC_INTERVAL_COUNT];
static infected_for_interval_ident_ctx_t infectedIntervals[CONFIG_CONTACTS_RISC_CHECK_TEST_PUBLIC_INTERVAL_COUNT];
printk("Starting measurements with %d RPIs to seach and an infection rate of %d\n",
CONTACTS_RISC_CHECK_TEST_PUBLIC_INTERVAL_COUNT, CONFIG_TEST_INFECTED_RATE);
CONFIG_CONTACTS_RISC_CHECK_TEST_PUBLIC_INTERVAL_COUNT, CONFIG_TEST_INFECTED_RATE);
measure_perf(check_possible_contacts_for_intervals, "bloom reverse", infectedIntervals,
CONTACTS_RISC_CHECK_TEST_PUBLIC_INTERVAL_COUNT);
measure_perf(check_possible_contacts_for_intervals, "bloom filter", infectedIntervals,
CONFIG_CONTACTS_RISC_CHECK_TEST_PUBLIC_INTERVAL_COUNT);
#endif
return 0;
}

View File

@ -47,3 +47,4 @@ CONFIG_LOG=y
# # Run protobuf unpack tests at startup
# CONFIG_TEST_UNPACK_KEYS_N=12
# CONFIG_TEST_UNPACK_KEYS=y
# CONFIG_CONTACTS_PERFORM_RISC_CHECK_TEST=y