Update uisp_device.rs

This commit is contained in:
Robert Chacón authored and GitHub committed 2025-04-16 09:50:49 -06:00
1 parent 84a33062f6
commit ab2b6cd646
1 file changed
+1 -1
@@ -52,7 +52,7 @@ impl UispDevice {
if let Some(ul) = overview.uplinkCapacity {
upload = ul as u64 / 1000000;
}
if device.get_model().unwrap_or_default().contains("R5AC") {
if device.get_model().unwrap_or_default().contains("5AC") {
download = ((download as f64) * config.uisp_integration.airmax_capacity as f64) as u64;
upload = ((upload as f64) * config.uisp_integration.airmax_capacity as f64) as u64;
}