mirror of
https://github.com/TomHarte/CLK.git
synced 2026-04-24 05:18:36 +00:00
Takes a first shot at INQUIRY.
This commit is contained in:
@@ -39,3 +39,7 @@ uint16_t CommandState::number_of_blocks() const {
|
||||
return uint16_t((data_[7] << 8) | data_[8]);
|
||||
}
|
||||
}
|
||||
|
||||
size_t CommandState::allocated_inquiry_bytes() const {
|
||||
return size_t(((data_[4] - 1) & 0xff) + 1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user