Skip to content

Commit

Permalink
Merge pull request #48 from OpenEtherCATsociety/hotfix/ti_true_false_…
Browse files Browse the repository at this point in the history
…defines

Add define for TRUE/FALSE, needed include is missing in the AM335x TI…
  • Loading branch information
nakarlsson authored Feb 18, 2019
2 parents 7808b67 + 830a7fb commit edcce5a
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions soes/hal/tiesc/ecat_def.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,24 @@
#define STATE_INIT ((uint8_t)0x01)

#ifndef SOES
#define SOES 1
#define SOES 1
#endif

#ifndef VARVOLATILE
#define VARVOLATILE volatile
#define VARVOLATILE volatile
#endif

#ifndef AL_EVENT_ENABLED
#define AL_EVENT_ENABLED 1
#endif

#ifndef FALSE
#define FALSE 0
#endif

#ifndef TRUE
#define TRUE 1
#endif

int MainInit(void);
void MainLoop(void);
Expand Down

0 comments on commit edcce5a

Please sign in to comment.