nRF Connect SDK API
2.8.99
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 Tue Nov 5 2024 16:02:08 for nRF Connect SDK API by
1.12.0