Revision 47e89ebf core/inc/aos_system.h

View differences:

core/inc/aos_system.h
183 183
    event_source_t os;
184 184
  } events;
185 185

  
186
#if (AMIROOS_CFG_SHELL_ENABLE == true) || (AMIROOS_CFG_TESTS_ENABLE == true) || defined(__DOXYGEN__)
186
#if (AMIROOS_CFG_SHELL_ENABLE == true) || defined(__DOXYGEN__)
187 187

  
188 188
  /**
189 189
   * @brief   Pointer to the shell object.
190 190
   */
191 191
  aos_shell_t shell;
192 192

  
193
#endif /* (AMIROOS_CFG_SHELL_ENABLE == true) || (AMIROOS_CFG_TESTS_ENABLE == true) */
193
#endif /* (AMIROOS_CFG_SHELL_ENABLE == true) */
194 194

  
195 195
} aos_system_t;
196 196

  
......
217 217
#if defined(__cplusplus)
218 218
extern "C" {
219 219
#endif /* defined(__cplusplus) */
220
#if (AMIROOS_CFG_SHELL_ENABLE == true) || (AMIROOS_CFG_TESTS_ENABLE == true)
221 220
  void aosSysInit(const char* shellPrompt);
222
#else /* (AMIROOS_CFG_SHELL_ENABLE == true) || (AMIROOS_CFG_TESTS_ENABLE == true) */
223
  void aosSysInit(void);
224
#endif /* (AMIROOS_CFG_SHELL_ENABLE == true) || (AMIROOS_CFG_TESTS_ENABLE == true) */
225 221
  void aosSysStart(void);
226 222
#if (AMIROOS_CFG_SSSP_ENABLE == true) || defined (__DOXYGEN__)
227 223
  eventmask_t aosSysSsspStartupOsInitSyncCheck(event_listener_t* syncEvtListener);

Also available in: Unified diff