lm4f: Appease checkpath.pl and de-typedef enums

Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
This commit is contained in:
Alexandru Gagniuc
2013-07-07 13:56:11 -05:00
committed by Piotr Esden-Tempski
parent b8e8cb2f0d
commit 5ea4763845
4 changed files with 27 additions and 27 deletions
+4 -4
View File
@@ -22,9 +22,9 @@
/**
* \brief Enable the clock source for the peripheral
*
* @param[in] periph peripheral and clock type to enable @see clken_t
* @param[in] periph peripheral and clock type to enable @see lm4f_clken
*/
void periph_clock_enable(clken_t periph)
void periph_clock_enable(enum lm4f_clken periph)
{
MMIO32(SYSCTL_BASE + (periph >> 5)) |= 1 << (periph & 0x1f);
}
@@ -32,9 +32,9 @@ void periph_clock_enable(clken_t periph)
/**
* \brief Disable the clock source for the peripheral
*
* @param[in] periph peripheral and clock type to enable @see clken_t
* @param[in] periph peripheral and clock type to enable @see lm4f_clken
*/
void periph_clock_disable(clken_t periph)
void periph_clock_disable(enum lm4f_clken periph)
{
MMIO32(SYSCTL_BASE + (periph >> 5)) &= ~(1 << (periph & 0x1f));
}