You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "pkarashchenko (via GitHub)" <gi...@apache.org> on 2023/04/03 13:19:57 UTC

[GitHub] [nuttx-apps] pkarashchenko commented on a diff in pull request #1700: Replace OK/ERROR macro with sys/types.h enum

pkarashchenko commented on code in PR #1700:
URL: https://github.com/apache/nuttx-apps/pull/1700#discussion_r1155953813


##########
system/zmodem/host/nuttx/config.h:
##########
@@ -34,8 +36,6 @@
 
 /* Environment stuff */
 
-#define OK 0
-#define ERROR -1
 #define FAR
 #define DEBUGASSERT assert

Review Comment:
   Maybe we can get those definitions from compiler.h as well?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org