Revision 3e8094a0 core/src/aos_main.cpp

View differences:

core/src/aos_main.cpp
78 78
/* LOCAL VARIABLES                                                            */
79 79
/******************************************************************************/
80 80

  
81
#if (CH_CFG_USE_REGISTRY == TRUE) || defined(__DOXYGEN__)
82

  
83
/**
84
 * @brief   Name of the main thread.
85
 */
86
static const char _threadName[] = "control (main)";
87

  
88
#endif /* (CH_CFG_USE_REGISTRY == TRUE) */
89

  
90 81
/**
91 82
 * @brief   Listener object for GPIO events.
92 83
 */
......
278 269
#if defined(MODULE_INIT_KERNEL_EXTRA)
279 270
  MODULE_INIT_KERNEL_EXTRA();
280 271
#endif /* defined(MODULE_INIT_KERNEL_EXTRA) */
281
#if (CH_CFG_USE_REGISTRY == TRUE)
282
  currp->name = _threadName;
283
#endif /* (CH_CFG_USE_REGISTRY == TRUE) */
284 272

  
285 273
  // AMiRo-OS, additional interrupts and custom OS additions (if any)
286 274
#if (AMIROOS_CFG_SHELL_ENABLE == true)

Also available in: Unified diff