Skip to content

Commit

Permalink
Update version and fix acknowledgement message
Browse files Browse the repository at this point in the history
  • Loading branch information
yorickdewid committed Mar 25, 2024
1 parent e1fa844 commit abbc1c0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "j1939"
version = "0.1.29"
version = "0.1.30"
authors = ["Laixer Equipment B.V. <info@laixer.com>"]
edition = "2021"
repository = "https://github.com/Laixer/J1939"
Expand Down
2 changes: 1 addition & 1 deletion src/protocol.rs
Expand Up @@ -33,8 +33,8 @@ pub fn acknowledgement(sa: u8, pgn: PGN) -> Frame {
let pgn_bytes = pgn.to_le_bytes();

let id = IdBuilder::from_pgn(PGN::AcknowledgmentMessage)
.da(PDU_NOT_AVAILABLE)
.sa(sa)
.da(PDU_NOT_AVAILABLE)
.build();

FrameBuilder::new(id)
Expand Down

0 comments on commit abbc1c0

Please sign in to comment.