fixing comments

This commit is contained in:
Daniel Samson committed 2026-07-12 16:19:09 +01:00
1 parent 4df90bc212
commit 1cdffe21b1
4 files changed
+10 -6

No files matched your search

+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);
}