/*..........................................................................*/ void BSP_displayPhilStat(uint8_t n, char const *stat) { (void)n; (void)stat; LED0_toggle(); QS_BEGIN(PHILO_STAT, AO_Philo[n]) /* application-specific record begin */ QS_U8(1, n); /* Philosopher number */ QS_STR(stat); /* Philosopher status */ QS_END() }
inline void led_blinkStatus(void) { static unsigned int i = 0; i++; if (i >= 65000u) { i = 0; LED0_toggle(); } }