nRF Connect SDK API
0.1.0
Loading...
Searching...
No Matches
ui_module_test.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2022 Nordic Semiconductor ASA
3
*
4
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5
*/
6
7
#ifndef UI_MODULE_TEST_H_
8
#define UI_MODULE_TEST_H_
9
10
#include <zephyr/init.h>
11
12
/* Redefine SYS_INIT so that setup() is not run before the test runner starts. */
13
#undef SYS_INIT
14
#define SYS_INIT(_init_fn, _level, _prio)
15
16
/* Suppress linker that warns that setup() is not used. This is because the function is run
17
* at SYS_INIT, which is now redefined.
18
*/
19
static
int
setup
(
void
) __attribute__((unused));
20
21
#endif
/* UI_MODULE_TEST */
setup
static int setup(void)
applications
asset_tracker_v2
tests
ui_module
src
ui_module_test.h
Generated on Thu Sep 26 2024 10:53:16 for nRF Connect SDK API by
1.9.6