Skip to content
Snippets Groups Projects
Commit 80765151 authored by Alberto Nidasio's avatar Alberto Nidasio
Browse files

[ClockUtils] Added RCC_SYNC to enable and disable peripheral clock functions

parent c2029ccf
Branches
Tags
No related merge requests found
......@@ -341,6 +341,8 @@ inline bool ClockUtils::enablePeripheralClock(void* peripheral)
return false;
}
RCC_SYNC();
return true;
}
......@@ -575,6 +577,8 @@ inline bool ClockUtils::disablePeripheralClock(void* peripheral)
return false;
}
RCC_SYNC();
return true;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment