Skip to content

Commit dfd67eb

Browse files
Merge sedsprintf_rs upstream main
2 parents 78c6a6c + 3f68c2c commit dfd67eb

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

sedsprintf_rs/src/config.rs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ pub enum DataEndpoint {
6363
GroundStation,
6464
FlightController,
6565
FuelBoard,
66+
Abort,
6667
}
6768

6869
impl DataEndpoint {
@@ -77,6 +78,7 @@ impl DataEndpoint {
7778
DataEndpoint::GroundStation => "GROUND_STATION",
7879
DataEndpoint::FlightController => "FLIGHT_CONTROLLER",
7980
DataEndpoint::FuelBoard => "FUEL_BOARD",
81+
DataEndpoint::Abort => "ABORT",
8082
}
8183
}
8284
}
@@ -276,10 +278,7 @@ pub const fn get_message_meta(data_type: DataType) -> MessageMeta {
276278
// Abort Command
277279
element_count: MessageElementCount::Static(1), // Abort messages carry 1 boolean element
278280
endpoints: &[
279-
DataEndpoint::SdCard,
280-
DataEndpoint::GroundStation,
281-
DataEndpoint::FlightController,
282-
DataEndpoint::FuelBoard,
281+
DataEndpoint::Abort,
283282
],
284283
}
285284
}

0 commit comments

Comments
 (0)