Skip to content

Commit a8c73d7

Browse files
authored
Merge pull request #3 from libdriver/dev
fix: fix doc errors
2 parents 0d4dfca + 30e8868 commit a8c73d7

File tree

3 files changed

+26
-20
lines changed

3 files changed

+26
-20
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## 1.0.3 (2024-12-29)
2+
3+
## Bug Fixes
4+
5+
- fix doc errors
6+
17
## 1.0.2 (2024-12-21)
28

39
## Bug Fixes

project/raspberrypi4b/driver/src/raspberrypi4b_driver_ms5611_interface.c

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -85,10 +85,10 @@ uint8_t ms5611_interface_iic_deinit(void)
8585

8686
/**
8787
* @brief interface iic bus read
88-
* @param[in] addr is the iic device write address
89-
* @param[in] reg is the iic register address
90-
* @param[out] *buf points to a data buffer
91-
* @param[in] len is the length of the data buffer
88+
* @param[in] addr iic device write address
89+
* @param[in] reg iic register address
90+
* @param[out] *buf pointer to a data buffer
91+
* @param[in] len length of the data buffer
9292
* @return status code
9393
* - 0 success
9494
* - 1 read failed
@@ -101,10 +101,10 @@ uint8_t ms5611_interface_iic_read(uint8_t addr, uint8_t reg, uint8_t *buf, uint1
101101

102102
/**
103103
* @brief interface iic bus write
104-
* @param[in] addr is the iic device write address
105-
* @param[in] reg is the iic register address
106-
* @param[in] *buf points to a data buffer
107-
* @param[in] len is the length of the data buffer
104+
* @param[in] addr iic device write address
105+
* @param[in] reg iic register address
106+
* @param[in] *buf pointer to a data buffer
107+
* @param[in] len length of the data buffer
108108
* @return status code
109109
* - 0 success
110110
* - 1 write failed
@@ -141,9 +141,9 @@ uint8_t ms5611_interface_spi_deinit(void)
141141

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

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

172172
/**
173173
* @brief interface delay ms
174-
* @param[in] ms
174+
* @param[in] ms time
175175
* @note none
176176
*/
177177
void ms5611_interface_delay_ms(uint32_t ms)
@@ -181,7 +181,7 @@ void ms5611_interface_delay_ms(uint32_t ms)
181181

182182
/**
183183
* @brief interface print format data
184-
* @param[in] fmt is the format data
184+
* @param[in] fmt format data
185185
* @note none
186186
*/
187187
void ms5611_interface_debug_print(const char *const fmt, ...)

project/raspberrypi4b/src/main.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@
4141

4242
/**
4343
* @brief ms5611 full function
44-
* @param[in] argc is arg numbers
45-
* @param[in] **argv is the arg address
44+
* @param[in] argc arg numbers
45+
* @param[in] **argv arg address
4646
* @return status code
4747
* - 0 success
4848
* - 1 run failed
@@ -318,8 +318,8 @@ uint8_t ms5611(uint8_t argc, char **argv)
318318

319319
/**
320320
* @brief main function
321-
* @param[in] argc is arg numbers
322-
* @param[in] **argv is the arg address
321+
* @param[in] argc arg numbers
322+
* @param[in] **argv arg address
323323
* @return status code
324324
* - 0 success
325325
* @note none

0 commit comments

Comments
 (0)