Revision 1678f270 core/src/aos_thread.c

View differences:

core/src/aos_thread.c
1 1
/*
2 2
AMiRo-OS is an operating system designed for the Autonomous Mini Robot (AMiRo) platform.
3
Copyright (C) 2016..2018  Thomas Schöpping et al.
3
Copyright (C) 2016..2019  Thomas Schöpping et al.
4 4

  
5 5
This program is free software: you can redistribute it and/or modify
6 6
it under the terms of the GNU General Public License as published by
......
57 57
  return;
58 58
}
59 59

  
60
#if (CH_DBG_FILL_THREADS == TRUE) || defined(__DOXYGEN__)
60
#if ((AMIROOS_CFG_DBG == true) && (CH_DBG_FILL_THREADS == TRUE)) || defined(__DOXYGEN__)
61 61
/**
62 62
 * @brief   Calculate the peak stack utilization for a specific thread so far in bytes.
63 63
 *
......
81 81

  
82 82
  return util;
83 83
}
84
#endif /* CH_DBG_FILL_THREADS == TRUE */
84
#endif /* (AMIROOS_CFG_DBG == true) && (CH_DBG_FILL_THREADS == TRUE) */
85 85

  
86 86
/** @} */

Also available in: Unified diff