Commit 74a168c8 authored by Grzegorz Daniluk's avatar Grzegorz Daniluk

green LED should light up only when HAL is fine too

parent cd46c8cd
......@@ -30,10 +30,6 @@ int shw_init()
/* Init the FANs */
assert_init(shw_init_fans());
/* Finally setup the green led */
shw_io_write(shw_io_led_state_o,0);
shw_io_write(shw_io_led_state_g,1);
TRACE(TRACE_INFO, "HW initialization done!");
}
......
......@@ -198,6 +198,11 @@ int hal_init()
/* Create a WRIPC server for HAL public API */
assert_init(hal_init_wripc());
//everything is fine up to here, we can blink green LED
shw_io_write(shw_io_led_state_o,0);
shw_io_write(shw_io_led_state_g,1);
if(daemon_mode)
hal_deamonize();
......
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