diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/environment.h | 10 | ||||
-rw-r--r-- | include/version.h | 2 |
2 files changed, 12 insertions, 0 deletions
diff --git a/include/environment.h b/include/environment.h index c4f7c33..946a393 100644 --- a/include/environment.h +++ b/include/environment.h @@ -107,4 +107,14 @@ typedef struct environment_s { unsigned char data[ENV_SIZE]; /* Environment data */ } env_t; +/* Function that returns a character from the environment */ +unsigned char (*env_get_char)(int); + +/* Function that returns a pointer to a value from the environment */ +unsigned char *env_get_addr(int); +unsigned char env_get_char_memory (int index); + +/* Function that updates CRC of the enironment */ +void env_crc_update (void); + #endif /* _ENVIRONMENT_H_ */ diff --git a/include/version.h b/include/version.h index b56d2e9..a34291a 100644 --- a/include/version.h +++ b/include/version.h @@ -24,6 +24,8 @@ #ifndef __VERSION_H__ #define __VERSION_H__ +#ifndef DO_DEPS_ONLY #include "version_autogenerated.h" +#endif #endif /* __VERSION_H__ */ |