tests: BT privacy: Fix printf format
Fix the print format string so the "%" is printed instead of a bogus value. Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
This commit is contained in:
parent
90dfe9f2db
commit
0ff2ba8c8e
1 changed files with 1 additions and 1 deletions
|
@ -83,7 +83,7 @@ static void test_address(bt_addr_le_t *addr)
|
|||
rpa_timeout_ms = CONFIG_BT_RPA_TIMEOUT * MSEC_PER_SEC;
|
||||
|
||||
if (abs(diff_ms - rpa_timeout_ms) > (rpa_timeout_ms / 10)) {
|
||||
FAIL("RPA rotation did not occur within +-10% of CONFIG_BT_RPA_TIMEOUT\n");
|
||||
FAIL("RPA rotation did not occur within +-10%% of CONFIG_BT_RPA_TIMEOUT\n");
|
||||
}
|
||||
|
||||
bt_addr_le_copy(&adv_set_data[adv_index].old_addr, addr);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue