[Style] Fixed all style errors in the efm32.

This commit is contained in:
Piotr Esden-Tempski
2015-12-13 23:03:49 +01:00
parent 77354cb371
commit 1f6fd11dd9
24 changed files with 2293 additions and 2121 deletions

View File

@@ -123,7 +123,8 @@ void prs_set_edge(enum prs_ch ch, uint32_t edge)
*/
void prs_set_source(enum prs_ch ch, uint32_t source)
{
PRS_CHx_CTRL(ch) = (PRS_CHx_CTRL(ch) & ~PRS_CH_CTRL_SOURCESEL_MASK) | source;
PRS_CHx_CTRL(ch) = (PRS_CHx_CTRL(ch) & ~PRS_CH_CTRL_SOURCESEL_MASK)
| source;
}
/**
@@ -134,5 +135,6 @@ void prs_set_source(enum prs_ch ch, uint32_t source)
*/
void prs_set_signal(enum prs_ch ch, uint32_t signal)
{
PRS_CHx_CTRL(ch) = (PRS_CHx_CTRL(ch) & ~PRS_CH_CTRL_SIGSEL_MASK) | signal;
PRS_CHx_CTRL(ch) = (PRS_CHx_CTRL(ch) & ~PRS_CH_CTRL_SIGSEL_MASK)
| signal;
}