aboutsummaryrefslogtreecommitdiffstats
path: root/os/kernel/include/chdebug.h
diff options
context:
space:
mode:
Diffstat (limited to 'os/kernel/include/chdebug.h')
-rw-r--r--os/kernel/include/chdebug.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/os/kernel/include/chdebug.h b/os/kernel/include/chdebug.h
index 4a75474e2..33363cbca 100644
--- a/os/kernel/include/chdebug.h
+++ b/os/kernel/include/chdebug.h
@@ -105,7 +105,7 @@
*/
typedef struct {
systime_t se_time; /**< @brief Time of the switch event. */
- Thread *se_tp; /**< @brief Switched in thread. */
+ thread_t *se_tp; /**< @brief Switched in thread. */
void *se_wtobjp; /**< @brief Object where going to sleep.*/
uint8_t se_state; /**< @brief Switched out thread state. */
} ch_swc_event_t;
@@ -232,7 +232,7 @@ extern "C" {
#endif
#if CH_DBG_ENABLE_TRACE || defined(__DOXYGEN__)
void _trace_init(void);
- void dbg_trace(Thread *otp);
+ void dbg_trace(thread_t *otp);
#endif
#if CH_DBG_ENABLED
extern const char *dbg_panic_msg;