Commit 57b66dfc authored by Tomasz Wlostowski's avatar Tomasz Wlostowski

wrc_main.c: logging mode on by default

parent cbcd4bc8
......@@ -212,8 +212,8 @@ void wrc_initialize()
uart_init();
timer_init(1);
// uart_write_string(__FILE__ " is up (compiled on "
// __DATE__ " " __TIME__ ")\n");
uart_write_string(__FILE__ " is up (compiled on "
__DATE__ " " __TIME__ ")\n");
mprintf("wr_core: starting up (press G to launch the GUI and D for extra debug messages)....\n");
//SFP
......@@ -368,18 +368,23 @@ void wrc_handle_input()
extern volatile int irq_cnt;
int main(void)
{
wrc_initialize();
wrc_extra_debug = 1;
wrc_gui_mode = 0;
spll_init(SPLL_MODE_FREE_RUNNING_MASTER, 0, 1);
for(;;)
{
wrc_handle_input();
if(wrc_gui_mode)
wrc_mon_gui();
else
wrc_log_stats();
int l_status = wrc_check_link();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment