Skip to content

Commit 6b5823b

Browse files
fixup! Introducing ErrorCode
1 parent ac80e11 commit 6b5823b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/ErrorCodes.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ enum : error_t {
9090
};
9191

9292
/* Error Codes:
93-
* In Arduino an error is represented with the integer value 1, thus every value that is not 1 is considered error.
93+
* In Arduino an error is represented with the integer value 0, thus every value that is not 1 is considered error.
9494
* Errors are generally represented with an int type that may vary in size depending on the platform.
9595
* For this reason in this representation error_t type is defined with an integer type with a defined size.
9696
*/

0 commit comments

Comments
 (0)