Skip to content

Commit

Permalink
All fields public for msg type produced by new macro msg_len_middle
Browse files Browse the repository at this point in the history
  • Loading branch information
martinhakansson committed Jan 4, 2024
1 parent b297266 commit ba2f7e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/msg/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ macro_rules! msg_len_middle {
pub struct $type_name {
$(pub $field_name1:$frag_id1::DataType,)+
$(pub $field_name2:$frag_id2::DataType,)+
$vec_field_name:$vec_frag_id::DataType,
pub $vec_field_name:$vec_frag_id::DataType,
}
pub type DataType = $type_name;
pub fn encode(asm:&mut Assembler, value:&$type_name) -> Result<(),RtcmError> {
Expand Down

0 comments on commit ba2f7e5

Please sign in to comment.