diff options
author | Toni Uhlig <Toni.Uhlig@tq-group.com> | 2017-11-30 16:10:17 +0100 |
---|---|---|
committer | Toni Uhlig <Toni.Uhlig@tq-group.com> | 2017-11-30 16:10:17 +0100 |
commit | abaf6fd3437dbbb079eec9bbba05e1098e1fd2ec (patch) | |
tree | e47008af4ac8679a733c9602d947a493891e7c1a /src | |
parent | 965870f0117ece939bf8476e3ee3f016f21f9f0d (diff) |
added EnergyManager trailer struct
Diffstat (limited to 'src')
-rw-r--r-- | src/trailer.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/trailer.h b/src/trailer.h new file mode 100644 index 0000000..4d20022 --- /dev/null +++ b/src/trailer.h @@ -0,0 +1,19 @@ +/* + * Copyright (C) 2010 IEQualize GmbH <info@iequalize.de> + * + */ +#ifndef _TRAILER_H +#define _TRAILER_H + +/* max length of version string, e.g. "0.33.1pre1" */ +#define MAX_VERSION 16 + +struct update_trailer { + uint8_t version[MAX_VERSION]; + uint32_t model_tag; + uint32_t loopaes_length; + /* keep the trailer version info last */ + uint32_t trailer_version; +}; + +#endif |