Skip to content

Commit

Permalink
drivers/digit7seg: add return value doc in header
Browse files Browse the repository at this point in the history
  • Loading branch information
plmorange committed Nov 22, 2024
1 parent 8fbc29a commit 50d790a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/include/digit7seg.h
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ void digit7seg_set_all_value(digit7seg_t *dev, uint32_t value);
* @param[in] value the value as an uint8_t, a is equal to the first bit
* b the second.... dp the 8th bit.
*
* @return 0 on sucess
* @return 0 on success
* @return -1 when an incorrect digit is passed
*/
int digit7seg_set_value(digit7seg_t *dev, int index, uint8_t value);
Expand All @@ -138,7 +138,7 @@ int digit7seg_set_value(digit7seg_t *dev, int index, uint8_t value);
*
* @param[in] dev Initialized device descriptor of DIGIT7SEG device
*
* @return 0 on sucess
* @return 0 on success
* @return -1 if the timer was impossible to start
*/
int digit7seg_poweron(digit7seg_t *dev);
Expand Down

0 comments on commit 50d790a

Please sign in to comment.