Skip to content

Commit

Permalink
Merge pull request #3 from libdriver/dev
Browse files Browse the repository at this point in the history
fix: fix doc errors
  • Loading branch information
libdriver authored Dec 30, 2024
2 parents 0d4dfca + 30e8868 commit a8c73d7
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 20 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 1.0.3 (2024-12-29)

## Bug Fixes

- fix doc errors

## 1.0.2 (2024-12-21)

## Bug Fixes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,10 @@ uint8_t ms5611_interface_iic_deinit(void)

/**
* @brief interface iic bus read
* @param[in] addr is the iic device write address
* @param[in] reg is the iic register address
* @param[out] *buf points to a data buffer
* @param[in] len is the length of the data buffer
* @param[in] addr iic device write address
* @param[in] reg iic register address
* @param[out] *buf pointer to a data buffer
* @param[in] len length of the data buffer
* @return status code
* - 0 success
* - 1 read failed
Expand All @@ -101,10 +101,10 @@ uint8_t ms5611_interface_iic_read(uint8_t addr, uint8_t reg, uint8_t *buf, uint1

/**
* @brief interface iic bus write
* @param[in] addr is the iic device write address
* @param[in] reg is the iic register address
* @param[in] *buf points to a data buffer
* @param[in] len is the length of the data buffer
* @param[in] addr iic device write address
* @param[in] reg iic register address
* @param[in] *buf pointer to a data buffer
* @param[in] len length of the data buffer
* @return status code
* - 0 success
* - 1 write failed
Expand Down Expand Up @@ -141,9 +141,9 @@ uint8_t ms5611_interface_spi_deinit(void)

/**
* @brief interface spi bus read
* @param[in] reg is the register address
* @param[out] *buf points to a data buffer
* @param[in] len is the length of data buffer
* @param[in] reg register address
* @param[out] *buf pointer to a data buffer
* @param[in] len length of data buffer
* @return status code
* - 0 success
* - 1 read failed
Expand All @@ -156,9 +156,9 @@ uint8_t ms5611_interface_spi_read(uint8_t reg, uint8_t *buf, uint16_t len)

/**
* @brief interface spi bus write
* @param[in] reg is the register address
* @param[in] *buf points to a data buffer
* @param[in] len is the length of data buffer
* @param[in] reg register address
* @param[in] *buf pointer to a data buffer
* @param[in] len length of data buffer
* @return status code
* - 0 success
* - 1 write failed
Expand All @@ -171,7 +171,7 @@ uint8_t ms5611_interface_spi_write(uint8_t reg, uint8_t *buf, uint16_t len)

/**
* @brief interface delay ms
* @param[in] ms
* @param[in] ms time
* @note none
*/
void ms5611_interface_delay_ms(uint32_t ms)
Expand All @@ -181,7 +181,7 @@ void ms5611_interface_delay_ms(uint32_t ms)

/**
* @brief interface print format data
* @param[in] fmt is the format data
* @param[in] fmt format data
* @note none
*/
void ms5611_interface_debug_print(const char *const fmt, ...)
Expand Down
8 changes: 4 additions & 4 deletions project/raspberrypi4b/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@

/**
* @brief ms5611 full function
* @param[in] argc is arg numbers
* @param[in] **argv is the arg address
* @param[in] argc arg numbers
* @param[in] **argv arg address
* @return status code
* - 0 success
* - 1 run failed
Expand Down Expand Up @@ -318,8 +318,8 @@ uint8_t ms5611(uint8_t argc, char **argv)

/**
* @brief main function
* @param[in] argc is arg numbers
* @param[in] **argv is the arg address
* @param[in] argc arg numbers
* @param[in] **argv arg address
* @return status code
* - 0 success
* @note none
Expand Down

0 comments on commit a8c73d7

Please sign in to comment.