Exemple #1
0
static msg_t waThread(void *arg) {
	(void)arg;
	chRegSetThreadName("Wave Analyzer");
#if EFI_WAVE_CHART
	while (TRUE) {
		chThdSleepSeconds(CHART_RESET_DELAY);

		waveChart.publishChartIfFull();
	}
#endif /* EFI_WAVE_CHART */
#if defined __GNUC__
	return -1;
#endif
}
void printPendingMessages(void) {
	updateDevConsoleState(&engine);
	waveChart.publishChartIfFull();
}