From 078e2bf3cd0ab91b404f09f2533875e27a73909a Mon Sep 17 00:00:00 2001 From: DevilBinder <29162669+Devilbinder@users.noreply.github.com> Date: Tue, 21 Jun 2022 21:04:05 +0200 Subject: [PATCH] move type to single header file --- fdrs_types.h | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 fdrs_types.h diff --git a/fdrs_types.h b/fdrs_types.h new file mode 100644 index 0000000..9687d01 --- /dev/null +++ b/fdrs_types.h @@ -0,0 +1,9 @@ +#ifndef __FDRS_TYPES_H__ + +typedef struct __attribute__((packed)) DataReading { + float data; + uint16_t id; + uint8_t type; +} DataReading; + +#endif \ No newline at end of file