From 3974e5f48d35351bd31472b089a6ea0d42a633ee Mon Sep 17 00:00:00 2001 From: Karl Palsson Date: Thu, 18 Dec 2014 21:55:06 +0000 Subject: [PATCH] ethernet: mac stm32fxx7: Fix style and docs Rushed commits are bad mkay :) --- include/libopencm3/ethernet/mac_stm32fxx7.h | 2 +- lib/ethernet/mac_stm32fxx7.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/include/libopencm3/ethernet/mac_stm32fxx7.h b/include/libopencm3/ethernet/mac_stm32fxx7.h index 2d7546af..28a0375b 100644 --- a/include/libopencm3/ethernet/mac_stm32fxx7.h +++ b/include/libopencm3/ethernet/mac_stm32fxx7.h @@ -719,7 +719,7 @@ void eth_desc_init(uint8_t *buf, uint32_t nTx, uint32_t nRx, uint32_t cTx, bool eth_tx(uint8_t *ppkt, uint32_t n); bool eth_rx(uint8_t *ppkt, uint32_t *len, uint32_t maxlen); -void eth_init(uint8_t phy,enum eth_clk clock); +void eth_init(uint8_t phy, enum eth_clk clock); void eth_start(void); void eth_enable_checksum_offload(void); diff --git a/lib/ethernet/mac_stm32fxx7.c b/lib/ethernet/mac_stm32fxx7.c index 2ed1b00e..283c40fa 100644 --- a/lib/ethernet/mac_stm32fxx7.c +++ b/lib/ethernet/mac_stm32fxx7.c @@ -198,6 +198,7 @@ void eth_start(void) * * This function will initialize ethernet, set up clocks, and initialize DMA. * + * @param[in] phy phy id * @param[in] clock enum eth_clk Core clock speed */ void eth_init(uint8_t phy, enum eth_clk clock)