Skip to content

Commit

Permalink
protoに追加し忘れてた
Browse files Browse the repository at this point in the history
  • Loading branch information
shunsuke-shimomura committed Jul 16, 2024
1 parent 3587a4e commit 9efe53b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions tmtc-c2a/proto/tmtc_generic_c2a.proto
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ message TelemetrySchema {

message TelemetrySchemaMetadata {
uint32 id = 1;
bool is_restricted = 2;
}

message TelemetryFieldSchema {
Expand Down
5 changes: 4 additions & 1 deletion tmtc-c2a/src/registry/tlm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,10 @@ impl Registry {
})
.collect();
let telemetry_schema = proto::TelemetrySchema {
metadata: Some(proto::TelemetrySchemaMetadata { id: *tlm_id as u32 }),
metadata: Some(proto::TelemetrySchemaMetadata {
id: *tlm_id as u32,
is_restricted: fat_tlm_schema.is_restricted,
}),
fields,
};
(
Expand Down

0 comments on commit 9efe53b

Please sign in to comment.