diff --git a/lib/ethernet/mac_stm32fxx7.c b/lib/ethernet/mac_stm32fxx7.c index 2a404b61..525f6229 100644 --- a/lib/ethernet/mac_stm32fxx7.c +++ b/lib/ethernet/mac_stm32fxx7.c @@ -371,7 +371,7 @@ void eth_smi_bit_clear(uint8_t phy, uint8_t reg, uint16_t clearbits) * * @param[in] phy uint8_t ID of the PHY (defaults to 1) * @param[in] reg uint8_t Register address - * @param[in] bits uint16_t Bits that have to be set (or'ed) + * @param[in] setbits uint16_t Bits that have to be set (or'ed) */ void eth_smi_bit_set(uint8_t phy, uint8_t reg, uint16_t setbits) { diff --git a/lib/stm32/can.c b/lib/stm32/can.c index 37599c9b..f404a4a7 100644 --- a/lib/stm32/can.c +++ b/lib/stm32/can.c @@ -464,7 +464,7 @@ void can_fifo_release(uint32_t canport, uint8_t fifo) @param[out] fmi Unsigned int8 pointer. ID of the matched filter. @param[out] length Unsigned int8 pointer. Length of message payload. @param[out] data Unsigned int8[]. Message payload data. -@param[out] timestamp. Pointer to store the message timestamp. +@param[out] timestamp Pointer to store the message timestamp. Only valid on time triggered CAN. Use NULL to ignore. */ void can_receive(uint32_t canport, uint8_t fifo, bool release, uint32_t *id,