Skip to content

Commit 3a2c067

Browse files
committed
backlight: only import demo_mode module in demo mode
Signed-off-by: Leonard Göhrs <[email protected]>
1 parent c3cacdb commit 3a2c067

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/backlight.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ use async_std::prelude::*;
2020
use async_std::sync::Arc;
2121
use log::warn;
2222

23+
#[cfg(feature = "demo_mode")]
2324
mod demo_mode;
2425

2526
#[cfg(feature = "demo_mode")]

0 commit comments

Comments
 (0)