Loading src/touchpad_workaround.rs +4 −1 Original line number Diff line number Diff line Loading @@ -28,13 +28,16 @@ fn main() { print(6, format!("Attempt {}", i + 1)); if attempt() { print(5, format!("Attempt {} successful", i + 1)); return; break; } else { print(3, format!("Attempt {} failed", i + 1)); } i += 1; } //Exit print(5, "Finished"); } fn is_root() -> bool { Loading Loading
src/touchpad_workaround.rs +4 −1 Original line number Diff line number Diff line Loading @@ -28,13 +28,16 @@ fn main() { print(6, format!("Attempt {}", i + 1)); if attempt() { print(5, format!("Attempt {} successful", i + 1)); return; break; } else { print(3, format!("Attempt {} failed", i + 1)); } i += 1; } //Exit print(5, "Finished"); } fn is_root() -> bool { Loading