Exemplo n.º 1
0
void amode_date_time_page (void)
{
    if (system_config.show_date_and_time == YES)
    {
        rtc_show_date_time (&current_date);
        amode_page_end (2);
    }
}
Exemplo n.º 2
0
void amode_date_time_page (void)
{
	if (system_config.show_date_and_time == YES)
	{
		rtc_show_date_time ();
		amode_page_end (3);
	}
}
Exemplo n.º 3
0
void status_report_deff (void)
{
	status_page_init ();
	font_render_string_center (&font_fixed6, 64, 16, "STATUS REPORT");
	status_page_complete ();

	status_page_init ();
	sprintf ("BALL %d", ball_up);
	font_render_string_center (&font_mono5, 64, 11, sprintf_buffer);
	credits_render ();
	font_render_string_center (&font_mono5, 64, 21, sprintf_buffer);
	status_page_complete ();

	status_page_init ();
	replay_draw ();
	status_page_complete ();

#ifdef CONFIG_RTC
	rtc_show_date_time ();
	dmd_draw_border (dmd_low_buffer);
	status_page_complete ();
#endif

#ifdef DEBUGGER
	status_page_init ();
	sprintf ("CNT %1d MIS %1d", counted_balls, missing_balls);
	font_render_string_center (&font_mono5, 64, 11, sprintf_buffer);
	sprintf ("LIVE %1d KLOCKS %1d", live_balls, kickout_locks);
	font_render_string_center (&font_mono5, 64, 22, sprintf_buffer);
	status_page_complete ();
#endif

	/* Allow other modules to report status as well.
	 * The order is unspecified. */
	callset_invoke (status_report);

	deff_exit ();
}