Skip to content

Commit c38831d

Browse files
committed
fix triple buffer no_std compatibility
1 parent 31e7f7f commit c38831d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

crates/firewheel-nodes/src/triple_buffer.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ use firewheel_core::{
1313

1414
#[cfg(not(feature = "std"))]
1515
use bevy_platform::prelude::Vec;
16+
#[cfg(not(feature = "std"))]
17+
use num_traits::Float;
1618

1719
/// The configuration of a [`TripleBufferNode`]
1820
#[derive(Debug, Clone, Copy, PartialEq)]

0 commit comments

Comments
 (0)