예제 #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
}
예제 #2
0
void printPendingMessages(void) {
	updateDevConsoleState(&engine);
	waveChart.publishChartIfFull();
}