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.
This commit is contained in:
oopsbagel
2025-06-12 01:01:05 -07:00
parent 3a3adb055b
commit 241fb2789b

View File

@@ -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");