Skip to content

Commit

Permalink
Add missing FreeRTOS+ defines
Browse files Browse the repository at this point in the history
  • Loading branch information
Holden authored and paulbartell committed Mar 14, 2023
1 parent 309a18a commit 55658e1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions include/projdefs.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ typedef void (* TaskFunction_t)( void * );

#define pdFALSE ( ( BaseType_t ) 0 )
#define pdTRUE ( ( BaseType_t ) 1 )
#define pdFALSE_SIGNED ( ( BaseType_t ) 0 )
#define pdTRUE_SIGNED ( ( BaseType_t ) 1 )
#define pdFALSE_UNSIGNED ( ( UBaseType_t ) 0 )
#define pdTRUE_UNSIGNED ( ( UBaseType_t ) 1 )

#define pdPASS ( pdTRUE )
#define pdFAIL ( pdFALSE )
Expand Down Expand Up @@ -100,6 +104,7 @@ typedef void (* TaskFunction_t)( void * );
#define pdFREERTOS_ERRNO_ENOTEMPTY 90 /* Directory not empty */
#define pdFREERTOS_ERRNO_ENAMETOOLONG 91 /* File or path name too long */
#define pdFREERTOS_ERRNO_EOPNOTSUPP 95 /* Operation not supported on transport endpoint */
#define pdFREERTOS_ERRNO_EAFNOSUPPORT 97 /* Address family not supported by protocol */
#define pdFREERTOS_ERRNO_ENOBUFS 105 /* No buffer space available */
#define pdFREERTOS_ERRNO_ENOPROTOOPT 109 /* Protocol not available */
#define pdFREERTOS_ERRNO_EADDRINUSE 112 /* Address already in use */
Expand Down

0 comments on commit 55658e1

Please sign in to comment.