Fix optional definition of FieldData
This commit is contained in:
parent
ddaa99c209
commit
4fd1a72812
1 changed files with 1 additions and 2 deletions
|
@ -302,8 +302,7 @@ impl Clone for CalibData {
|
|||
|
||||
/// Contains read sensors values e.g. temperature, pressure, humidity etc.
|
||||
#[derive(Debug, Default, Copy)]
|
||||
#[cfg(feature = "serde")]
|
||||
#[derive(Serialize, Deserialize)]
|
||||
#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
|
||||
#[repr(C)]
|
||||
pub struct FieldData {
|
||||
/// Contains new_data, gasm_valid & heat_stab
|
||||
|
|
Loading…
Reference in a new issue