move type to single header file

This commit is contained in:
DevilBinder 2022-06-21 21:04:05 +02:00
parent 3818d88dd5
commit 078e2bf3cd

9
fdrs_types.h Normal file
View File

@ -0,0 +1,9 @@
#ifndef __FDRS_TYPES_H__
typedef struct __attribute__((packed)) DataReading {
float data;
uint16_t id;
uint8_t type;
} DataReading;
#endif