mirror of
https://github.com/timmbogner/Farm-Data-Relay-System
synced 2024-11-10 07:10:42 +00:00
move type to single header file
This commit is contained in:
parent
3818d88dd5
commit
078e2bf3cd
9
fdrs_types.h
Normal file
9
fdrs_types.h
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
#ifndef __FDRS_TYPES_H__
|
||||||
|
|
||||||
|
typedef struct __attribute__((packed)) DataReading {
|
||||||
|
float data;
|
||||||
|
uint16_t id;
|
||||||
|
uint8_t type;
|
||||||
|
} DataReading;
|
||||||
|
|
||||||
|
#endif
|
Loading…
Reference in New Issue
Block a user