fixing comments

This commit is contained in:
Daniel Samson
2026-07-12 16:19:09 +01:00
parent 4df90bc212
commit 1cdffe21b1
4 changed files with 10 additions and 6 deletions
+2 -1
View File
@@ -146,7 +146,8 @@ pub fn readData(id: u64, status_index: u64, data_index: u64, timeout_nanoseconds
}
pub fn writeData(id: u64, status_index: u64, data_index: u64, byte: u8, timeout_nanoseconds: u64) bool {
// IBF lives in the status register (0x64); wait for it to clear there, then write the data port (0x60)
// IBF lives in the status register (0x64); wait for it to clear there, then write the data port
// (0x60)
if (!waitWritable(id, status_index, timeout_nanoseconds)) return false;
return device.ioWrite(id, data_index, 0, 1, byte);
}