Merge pull request #48 from OpenEtherCATsociety/hotfix/ti_true_false_defines

Add define for TRUE/FALSE, needed include is missing in the AM335x TI…
pull/50/head
nakarlsson 2019-02-18 08:30:26 +01:00 committed by GitHub
commit edcce5af0f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 2 deletions

View File

@ -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);