Skip to content

Commit 1fe0545

Browse files
author
Ben Leadbetter
committed
chore: release: Merge branch 'hotfix/0.6.2'
2 parents c9ae786 + 0da2535 commit 1fe0545

File tree

5 files changed

+13
-5
lines changed

5 files changed

+13
-5
lines changed

CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# 0.6.2
2+
* fix: incorrect status of delta clockstamp tpq message
3+
14
# 0.6.1
25
* feat: generate MIDI CI messages
36
* strongly typed MIDI CI version

Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "midi2"
3-
version = "0.6.1"
3+
version = "0.6.2"
44
description = "Ergonomic, versatile, strong types wrapping MIDI 2.0 message data."
55
edition = "2021"
66
readme = "README.md"
@@ -37,7 +37,7 @@ utility = []
3737
[dependencies]
3838
derive_more = { version = "0.99.17", features = ["from"], default-features = false }
3939
fixed = "1.27.0"
40-
midi2_proc = { version = "0.6.1", path = "midi2_proc" }
40+
midi2_proc = { version = "0.6.2", path = "midi2_proc" }
4141
ux = "0.1.6"
4242

4343
[dev-dependencies]

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ You'll want to setup midi2 without default features to compile
156156
without the `std` feature.
157157

158158
```toml
159-
midi2 = { version = "0.6.1", default-features = false, features = ["channel-voice2", "sysex7"], }
159+
midi2 = { version = "0.6.2", default-features = false, features = ["channel-voice2", "sysex7"], }
160160
```
161161

162162
### Generic Representation

midi2_proc/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "midi2_proc"
33
description = "Internal procedural macro crate. Only intended for use with midi2"
4-
version = "0.6.1"
4+
version = "0.6.2"
55
edition = "2021"
66
readme = "README.md"
77
license = "MIT OR Apache-2.0"

src/utility.rs

+6-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ mod timestamp {
9797
mod delta_clockstamp {
9898
use crate::detail::common_properties;
9999
use crate::utility;
100-
pub const STATUS: u8 = 0b0100;
100+
pub const STATUS: u8 = 0b0010;
101101
#[midi2_proc::generate_message(Via(crate::utility::Utility), FixedSize, MinSizeUmp(1))]
102102
struct DeltaClockstamp {
103103
#[property(common_properties::UmpMessageTypeProperty<{utility::UMP_MESSAGE_TYPE}>)]
@@ -249,4 +249,9 @@ mod tests {
249249
let message = Utility::try_from(&[0x0010_1234][..]).unwrap();
250250
let _ = Utility::<[u32; 1]>::rebuffer_from(message);
251251
}
252+
253+
#[test]
254+
fn delta_clock_stamp_try_from() {
255+
DeltaClockstamp::try_from(&[0x0020_0000][..]).unwrap();
256+
}
252257
}

0 commit comments

Comments
 (0)