Revision 3da12676 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

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

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

Also available in: Unified diff