Commit 44cce6cd authored by Grzegorz Daniluk's avatar Grzegorz Daniluk

wrc_main: move init script execution after whole initialization

parent 4ca9990d
......@@ -71,9 +71,6 @@ void wrc_initialize()
ipv4_init("wru1");
arp_init("wru1");
#endif
//try to read and execute init script from EEPROM
shell_boot_script();
}
#define LINK_WENT_UP 1
......@@ -157,9 +154,12 @@ int main(void)
wrc_initialize();
shell_init();
wrc_ptp_set_mode(WRC_MODE_SLAVE);
wrc_ptp_start();
//try to read and execute init script from EEPROM
shell_boot_script();
for (;;)
{
......
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