Revision 7de0cc90 modules/NUCLEO-L476RG/module.h
modules/NUCLEO-L476RG/module.h | ||
---|---|---|
113 | 113 |
* @brief Shell prompt text. |
114 | 114 |
*/ |
115 | 115 |
extern ROMCONST char* moduleShellPrompt; |
116 |
#endif |
|
116 |
#endif /* (AMIROOS_CFG_SHELL_ENABLE == true) || (AMIROOS_CFG_TESTS_ENABLE == true) */
|
|
117 | 117 |
|
118 | 118 |
/** |
119 | 119 |
* @brief Interrupt initialization macro. |
... | ... | |
137 | 137 |
/* add unit-test shell commands */ \ |
138 | 138 |
aosShellAddCommand(&aos.shell, &moduleUtAlldMpu6050.shellcmd); \ |
139 | 139 |
} |
140 |
#else |
|
140 |
#else /* defined(AMIROLLD_CFG_MPU6050) */
|
|
141 | 141 |
#define MODULE_INIT_TEST_MPU6050() {} |
142 |
#endif |
|
142 |
#endif /* defined(AMIROLLD_CFG_MPU6050) */
|
|
143 | 143 |
|
144 | 144 |
/** |
145 | 145 |
* @brief Periphery communication interfaces initialization hook. |
... | ... | |
175 | 175 |
chSysUnlock(); \ |
176 | 176 |
i2cStart(&MODULE_HAL_I2C3, &moduleHalI2c3Config); \ |
177 | 177 |
} |
178 |
#else |
|
178 |
#else /* defined(AMIROLLD_CFG_MPU6050) */
|
|
179 | 179 |
#define MODULE_INIT_PERIPHERY_COMM_MPU6050() {} |
180 |
#endif |
|
180 |
#endif /* defined(AMIROLLD_CFG_MPU6050) */
|
|
181 | 181 |
|
182 | 182 |
/** |
183 | 183 |
* @brief Periphery communication interface deinitialization hook. |
... | ... | |
246 | 246 |
|
247 | 247 |
#endif /* defined(AMIROLLD_CFG_MPU6050) */ |
248 | 248 |
|
249 |
#endif /* AMIROOS_CFG_TESTS_ENABLE == true */
|
|
249 |
#endif /* (AMIROOS_CFG_TESTS_ENABLE == true) */
|
|
250 | 250 |
|
251 | 251 |
/** @} */ |
252 | 252 |
|
Also available in: Unified diff