Skip to content

Commit

Permalink
when compiling for baremetal, the TaskIdRepr definition was mission. …
Browse files Browse the repository at this point in the history
…This fixes that. (#1333)
  • Loading branch information
kevin-f-ortega authored Mar 22, 2022
1 parent bf0f7b1 commit a76f945
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Os/TaskIdRepr.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ extern "C" {
#endif

namespace Os {
#if defined(TGT_OS_TYPE_VXWORKS)
#if defined(TGT_OS_TYPE_VXWORKS) || (FW_BAREMETAL_SCHEDULER == 1)
typedef int TaskIdRepr;
#elif defined(TGT_OS_TYPE_LINUX) || defined(TGT_OS_TYPE_DARWIN)
typedef pthread_t TaskIdRepr;
Expand Down

0 comments on commit a76f945

Please sign in to comment.