Skip to content

Commit 1fea042

Browse files
committed
typo
1 parent c0e7e32 commit 1fea042

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

drivers/led/ltc3220/ltc3220.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ int ltc3220_set_uled_mode(struct ltc3220_dev *device, uint8_t uled_number,
193193
* @brief Sets the selected ULED register's current strength
194194
* @param device - The device structure.
195195
* @param uled_number - The ULED to select (1-indexed).
196-
* @param curent_level - The current strength from 0 to 20mA to set on the
196+
* @param current_level - The current strength from 0 to 20mA to set on the
197197
* corresponding ULED pin (64 levels)
198198
*******************************************************************************/
199199
int ltc3220_set_uled_current(struct ltc3220_dev *device, uint8_t uled_number,
@@ -218,6 +218,8 @@ int ltc3220_set_uled_current(struct ltc3220_dev *device, uint8_t uled_number,
218218
* config
219219
* @param device - The device structure.
220220
* @param uled_number - The ULED to select (1-indexed).
221+
* @param current_level - The current strength from 0 to 20mA to set on the
222+
* corresponding ULED pin (64 levels)
221223
* @return 0 in case of success, negative error code otherwise.
222224
*******************************************************************************/
223225
int ltc3220_update_reg_uled(struct ltc3220_dev *device, uint8_t uled_number,

drivers/led/ltc3220/ltc3220.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ int ltc3220_set_uled_mode(struct ltc3220_dev *device, uint8_t uled_number,
187187
* @brief Sets the selected ULED register's current strength
188188
* @param device - The device structure.
189189
* @param uled_number - The ULED to select (1-indexed).
190-
* @param curent_level - The current strength from 0 to 20mA to set on the corresponding ULED pin (64 levels)
190+
* @param current_level - The current strength from 0 to 20mA to set on the corresponding ULED pin (64 levels)
191191
* @return 0 in case of success, negative error code otherwise.
192192
*/
193193
int ltc3220_set_uled_current(struct ltc3220_dev *device, uint8_t uled_number,
@@ -198,7 +198,7 @@ int ltc3220_set_uled_current(struct ltc3220_dev *device, uint8_t uled_number,
198198
* @param device - The device structure.
199199
* @param uled_number - The ULED to select (1-indexed).
200200
* @param mode - The mode to set the ULED to.
201-
* @param curent_level - The current strength from 0 to 20mA to set on the corresponding ULED pin (64 levels)
201+
* @param current_level - The current strength from 0 to 20mA to set on the corresponding ULED pin (64 levels)
202202
* @return 0 in case of success, negative error code otherwise.
203203
*/
204204
int ltc3220_update_reg_uled(struct ltc3220_dev *device, uint8_t uled_number,

0 commit comments

Comments
 (0)