mynewt-core icon indicating copy to clipboard operation
mynewt-core copied to clipboard

kernel/os/src: replace SYS_ by OS_ errorcodes

Open fjmolinas opened this issue 4 years ago • 1 comments

This PR uses the correct error code macros for the file. This is useful to avoid redefining MACROS when only mynewt-core/kernel/os is being imported in an external project.

fjmolinas avatar May 27 '21 10:05 fjmolinas

Ah I didn't realize its actually matching what is described in the API because OS_E% are non-negative while SYS_E% are. Since this would mean an API change this is not a small change anymore, and maybe not worth it, let me know if its of interest

fjmolinas avatar May 27 '21 11:05 fjmolinas