From 50d790a9317d963f2ab90ae57c7fb9f0e8b1f114 Mon Sep 17 00:00:00 2001 From: Pierre Le Meur Date: Fri, 22 Nov 2024 08:50:38 +0100 Subject: [PATCH] drivers/digit7seg: add return value doc in header --- drivers/include/digit7seg.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/include/digit7seg.h b/drivers/include/digit7seg.h index 8dd0ab8366b50..9dd29b464224b 100644 --- a/drivers/include/digit7seg.h +++ b/drivers/include/digit7seg.h @@ -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); @@ -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);