From abaf6fd3437dbbb079eec9bbba05e1098e1fd2ec Mon Sep 17 00:00:00 2001 From: Toni Uhlig Date: Thu, 30 Nov 2017 16:10:17 +0100 Subject: added EnergyManager trailer struct --- src/trailer.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 src/trailer.h (limited to 'src') 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 + * + */ +#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 -- cgit v1.2.3