debug.c 536 B

12345678910111213141516171819202122232425262728
  1. /*
  2. * File : debug.c
  3. * This file is part of RT-Thread RTOS
  4. * COPYRIGHT (C) 2006 - 2009, RT-Thread Development Team
  5. *
  6. * The license and distribution terms for this file may be
  7. * found in the file LICENSE in this distribution or at
  8. * http://www.rt-thread.org/license/LICENSE
  9. *
  10. * Change Logs:
  11. * Date Author Notes
  12. * 2011-06 11 mbbill first version
  13. */
  14. #include <rtdef.h>
  15. #include <rtdebug.h>
  16. /**
  17. * @addtogroup Kernel
  18. */
  19. /*@{*/
  20. #ifdef RT_DEBUG
  21. rt_uint8_t rt_debug_reent_cnt = 0;
  22. #endif
  23. /*@}*/