1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-11-25 16:31:42 +00:00

Avoid name duplication.

This commit is contained in:
Thomas Harte 2023-11-26 15:29:08 -05:00
parent 003c494aac
commit d2203484cc
3 changed files with 3 additions and 3 deletions

View File

@ -134,7 +134,7 @@ class CommandDecoder {
/// @returns @c true if this command involves reading or writing data, in which case target() will be valid.
/// @c false otherwise.
bool is_access_command() const {
bool is_access() const {
switch(command()) {
case Command::ReadData: case Command::ReadDeletedData:
case Command::WriteData: case Command::WriteDeletedData:

View File

@ -109,7 +109,7 @@ class Status {
void begin(const CommandDecoder &command) {
set(MainStatus::DataReady, false);
if(command.is_access_command()) {
if(command.is_access()) {
set(MainStatus::ReadOrWriteOngoing, true);
status_[0] = command.drive_head();
}

View File

@ -243,7 +243,7 @@ void i8272::posit_event(int event_type) {
}
// If this is not clearly a command that's safe to carry out in parallel to a seek, end all seeks.
is_access_command_ = command_.is_access_command();
is_access_command_ = command_.is_access();
if(is_access_command_) {
status_.set(MainStatus::ReadOrWriteOngoing, true);