mirror of
https://github.com/EFForg/rayhunter.git
synced 2026-04-28 00:20:00 -07:00
fix(display/mod.rs): remove "no device" check
This check is unnecessary, cargo will not build if fn update_ui is undefined.
This commit is contained in:
@@ -25,6 +25,3 @@ pub enum DisplayState {
|
||||
Paused,
|
||||
WarningDetected,
|
||||
}
|
||||
|
||||
#[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