Skip to content

Commit

Permalink
missed changes
Browse files Browse the repository at this point in the history
  • Loading branch information
mattjperez committed Feb 14, 2025
1 parent c7322da commit 7f37615
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions micro-rdk/src/common/data_collector.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use std::fmt::Display;
use std::time::{Duration, Instant};

use crate::google::protobuf::Timestamp;
use crate::proto::app::data_sync::v1::{SensorData, SensorMetadata};
use crate::proto::app::data_sync::v1::{SensorData, SensorMetadata, MimeType};

use super::{
config::{AttributeError, Kind},
Expand Down Expand Up @@ -274,7 +274,7 @@ impl DataCollector {
nanos: reading_requested_ts.subsec_nanos() as i32,
}),
annotations: None,
mime_type: 0,
mime_type: MimeType::Unspecified.into(),
}),
data: Some(data),
})
Expand Down
4 changes: 2 additions & 2 deletions micro-rdk/src/common/sensor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ use thiserror::Error;
#[cfg(feature = "data")]
use crate::{
google::protobuf::Timestamp,
proto::app::data_sync::v1::{sensor_data::Data, SensorData, SensorMetadata},
proto::app::data_sync::v1::{sensor_data::Data, SensorData, SensorMetadata, MimeType},
};

#[cfg(feature = "esp32")]
Expand Down Expand Up @@ -100,7 +100,7 @@ pub trait Readings {
nanos: reading_received_dt.timestamp_subsec_nanos() as i32,
}),
annotations: None,
mime_type: 0,
mime_type: MimeType::Unspecified.into(),
}),
data: Some(readings.into()),
})
Expand Down

0 comments on commit 7f37615

Please sign in to comment.