greatly increase drive selection delay because I don't know it doesn't work sometimes otherwise
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
This commit is contained in:
parent
6984ca0592
commit
e12eb4bed9
@ -209,12 +209,14 @@ impl ATABus {
|
||||
|
||||
fn select_delay(&mut self) {
|
||||
unsafe {
|
||||
for _ in 0..100 {
|
||||
self.dcr.read();
|
||||
self.dcr.read();
|
||||
self.dcr.read();
|
||||
self.dcr.read();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fn wait_packet_request(&mut self) {
|
||||
let mut status = ATA_BSY;
|
||||
|
Loading…
Reference in New Issue
Block a user