Revision 165bcce7

View differences:

unittests/lld/inc/ut_lld_adc.h
21 21

  
22 22
#include <amiroos.h>
23 23

  
24
#if ((AMIROOS_CFG_TESTS_ENABLE == true) && (HAL_USE_ADC == TRUE))|| defined(__DOXYGEN__)
24
#if ((AMIROOS_CFG_TESTS_ENABLE == TRUE) && defined(BOARD_POWERMANAGEMENT_1_1) && (HAL_USE_ADC == TRUE)) || defined(__DOXYGEN__)
25

  
25 26

  
26 27
/******************************************************************************/
27 28
/* CONSTANTS                                                                  */
......
74 75
/* INLINE FUNCTIONS                                                           */
75 76
/******************************************************************************/
76 77

  
77
#endif /* (AMIROOS_CFG_TESTS_ENABLE == true) && (HAL_USE_ADC == TRUE) */
78
#endif /* (AMIROOS_CFG_TESTS_ENABLE == TRUE) && defined(BOARD_POWERMANAGEMENT_1_1) && (HAL_USE_ADC == TRUE) */
78 79

  
79 80
#endif /* AMIROOS_UT_LLD_ADC_H */
80 81

  
unittests/lld/src/ut_lld_adc.c
19 19
#include <amiroos.h>
20 20
#include <ut_lld_adc.h>
21 21

  
22
#if ((AMIROOS_CFG_TESTS_ENABLE == true) && (HAL_USE_ADC == TRUE))|| defined(__DOXYGEN__)
22
#if ((AMIROOS_CFG_TESTS_ENABLE == TRUE) && defined(BOARD_POWERMANAGEMENT_1_1) && (HAL_USE_ADC == TRUE)) || defined(__DOXYGEN__)
23 23

  
24 24
/******************************************************************************/
25 25
/* LOCAL DEFINITIONS                                                          */
......
174 174
  return result;
175 175
}
176 176

  
177
#endif /* (AMIROOS_CFG_TESTS_ENABLE == true) && (HAL_USE_ADC == TRUE) */
177
#endif /* (AMIROOS_CFG_TESTS_ENABLE == TRUE) && defined(BOARD_POWERMANAGEMENT_1_1) && (HAL_USE_ADC == TRUE) */

Also available in: Unified diff