Skip to content

Commit b74c4a0

Browse files
fixup! Added standard values for error codes from errno
1 parent 78e7dc2 commit b74c4a0

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
@@ -7,7 +7,7 @@ typedef int_fast32_t error_t;
77

88
enum : error_t {
99
ArduinoSuccess = 0,
10-
ArduinoError = 1,
10+
ArduinoError = -1,
1111

1212
// TODO better names
1313
ArduinoEPERM = -1, /**< Not owner */

0 commit comments

Comments
 (0)