made mode elements public

This commit is contained in:
lkoester 2023-02-28 11:59:56 +01:00
parent df7103cb82
commit cf9b12b1dc

View File

@ -39,8 +39,8 @@ impl ModeAndSubmode {
#[derive(Debug, Copy, Clone, PartialEq, Eq)]
#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
pub struct ModeCommand {
address: TargetId,
mode_submode: ModeAndSubmode,
pub address: TargetId,
pub mode_submode: ModeAndSubmode,
}
impl ModeCommand {