mirror of
https://github.com/timmbogner/Farm-Data-Relay-System
synced 2024-11-10 07:10:42 +00:00
Merge branch 'datatype' into One_Sensor_to_Rule_Them_All
This commit is contained in:
commit
551948ff84
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