From 993da9623be93a90625cc0389bcfef2bdda0e40e Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Tue, 30 Jan 2018 17:35:29 +0100 Subject: [PATCH] test/att_db: fix compile --- test/att_db/att_db_util_test.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/test/att_db/att_db_util_test.c b/test/att_db/att_db_util_test.c index 18ca9c0cf..cda6827b1 100644 --- a/test/att_db/att_db_util_test.c +++ b/test/att_db/att_db_util_test.c @@ -82,6 +82,11 @@ void CHECK_EQUAL_ARRAY(const uint8_t * expected, uint8_t * actual, int size){ } } +// mock +extern "C" +void att_set_db(uint8_t const * db){ +} + TEST_GROUP(AttDbUtil){ void setup(void){ att_db_util_init(); @@ -108,4 +113,4 @@ TEST(AttDbUtil, LeCounterDb){ int main (int argc, const char * argv[]){ return CommandLineTestRunner::RunAllTests(argc, argv); -} \ No newline at end of file +}