Commit 92973e0f authored by Grzegorz Daniluk's avatar Grzegorz Daniluk

wrc_main: only in slave mode, when link goes down switch SoftPLL to lock to local osc

parent 25099459
...@@ -182,6 +182,7 @@ int main(void) ...@@ -182,6 +182,7 @@ int main(void)
break; break;
case LINK_WENT_DOWN: case LINK_WENT_DOWN:
if( wrc_ptp_get_mode() == WRC_MODE_SLAVE )
spll_init(SPLL_MODE_FREE_RUNNING_MASTER, 0, 1); spll_init(SPLL_MODE_FREE_RUNNING_MASTER, 0, 1);
break; break;
} }
......
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