From 241fb2789b35e1e57c0346cf8d2840d6858afa5d Mon Sep 17 00:00:00 2001 From: oopsbagel Date: Thu, 12 Jun 2025 01:01:05 -0700 Subject: [PATCH] fix(display/mod.rs): remove "many devices" check This check is unnecessary, cargo will not build if multiple versions of fn update_ui are defined. --- bin/src/display/mod.rs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/bin/src/display/mod.rs b/bin/src/display/mod.rs index 3708305..785cee6 100644 --- a/bin/src/display/mod.rs +++ b/bin/src/display/mod.rs @@ -26,11 +26,5 @@ pub enum DisplayState { WarningDetected, } -#[cfg(all(feature = "orbic", feature = "tplink"))] -compile_error!("cannot compile for many devices at once"); - -#[cfg(all(feature = "orbic", feature = "wingtech"))] -compile_error!("cannot compile for many devices at once"); - #[cfg(not(any(feature = "orbic", feature = "tplink", feature = "wingtech",)))] compile_error!("cannot compile for no device at all");