mirror of
https://github.com/EFForg/rayhunter.git
synced 2026-04-27 07:59:59 -07:00
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:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user