Skip to content

Commit b879042

Browse files
committed
Merge branch '3-cannot-build-with-sync-feature' into develop
2 parents 4f509a9 + d1f781f commit b879042

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# 19.0.2
2+
3+
- Fix [#3](https://github.com/shinolab/autd3-rs/issues/3): Cannot build with sync feature
4+
15
# 19.0.1
26

37
- Update firmware to v4.1.2

autd3/src/controller/mod.rs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* Created Date: 05/10/2023
55
* Author: Shun Suzuki
66
* -----
7-
* Last Modified: 13/12/2023
7+
* Last Modified: 14/12/2023
88
* Modified By: Shun Suzuki (suzuki@hapis.k.u-tokyo.ac.jp)
99
* -----
1010
* Copyright (c) 2023 Shun Suzuki. All rights reserved.
@@ -311,7 +311,10 @@ impl<L: Link> Controller<L> {
311311
for dev in self.geometry.iter_mut() {
312312
dev.enable = true;
313313
}
314-
let res = self.send(Stop::new())?;
314+
let res = self.send((
315+
autd3_driver::datagram::Silencer::default(),
316+
crate::gain::Null::default(),
317+
))?;
315318
let res = res & self.send(Clear::new())?;
316319
self.link.close()?;
317320
Ok(res)

0 commit comments

Comments
 (0)