Revision f3ac1c96 unittests/periphery-lld/src/ut_alld_vcnl4020.c
unittests/periphery-lld/src/ut_alld_vcnl4020.c | ||
---|---|---|
20 | 20 |
|
21 | 21 |
#if ((AMIROOS_CFG_TESTS_ENABLE == true) && defined(AMIROLLD_CFG_USE_VCNL4020)) || defined(__DOXYGEN__) |
22 | 22 |
|
23 |
/******************************************************************************/ |
|
24 |
/* LOCAL DEFINITIONS */ |
|
25 |
/******************************************************************************/ |
|
23 | 26 |
#include <aos_debug.h> |
24 | 27 |
#include <chprintf.h> |
25 | 28 |
#include <aos_thread.h> |
... | ... | |
30 | 33 |
|
31 | 34 |
#define INTERRUPT_THRESHOLD 0x2000 |
32 | 35 |
|
36 |
/******************************************************************************/ |
|
37 |
/* EXPORTED VARIABLES */ |
|
38 |
/******************************************************************************/ |
|
39 |
|
|
40 |
/******************************************************************************/ |
|
41 |
/* LOCAL TYPES */ |
|
42 |
/******************************************************************************/ |
|
43 |
|
|
44 |
/******************************************************************************/ |
|
45 |
/* LOCAL VARIABLES */ |
|
46 |
/******************************************************************************/ |
|
47 |
|
|
48 |
/******************************************************************************/ |
|
49 |
/* LOCAL FUNCTIONS */ |
|
50 |
/******************************************************************************/ |
|
51 |
|
|
52 |
/******************************************************************************/ |
|
53 |
/* EXPORTED FUNCTIONS */ |
|
54 |
/******************************************************************************/ |
|
55 |
|
|
33 | 56 |
aos_utresult_t utAlldVcnl4020Func(BaseSequentialStream* stream, aos_unittest_t* ut) |
34 | 57 |
{ |
35 | 58 |
aosDbgCheck((ut->data != NULL) && |
... | ... | |
222 | 245 |
} |
223 | 246 |
|
224 | 247 |
#endif /* (AMIROOS_CFG_TESTS_ENABLE == true) && defined(AMIROLLD_CFG_USE_VCNL4020) */ |
225 |
|
|
226 |
|
Also available in: Unified diff