Linking fails on ubuntu 22.04 because of multiple definitions of the `fff` global, which is defined by `DEFINE_FFF_GLOBALS`. Only define it in the tests' `main.c` instead of the mocks. Signed-off-by: Jonathan Rico <jonathan.rico@nordicsemi.no>
11 lines
234 B
C
11 lines
234 B
C
/*
|
|
* Copyright (c) 2022 Nordic Semiconductor ASA
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#include <zephyr/kernel.h>
|
|
#include "mocks/rpa.h"
|
|
|
|
DEFINE_FAKE_VALUE_FUNC(bool, bt_rpa_irk_matches, const uint8_t *, const bt_addr_t *);
|