mirror of
https://github.com/TomHarte/CLK.git
synced 2026-04-26 19:17:52 +00:00
Reduce logging again.
This commit is contained in:
@@ -101,7 +101,7 @@ uint8_t WD1770::read(const int address) {
|
||||
if(status_.type == Status::One)
|
||||
status |= (status_.spin_up ? Flag::SpinUp : 0);
|
||||
}
|
||||
Logger::info().append("Returned status %02x of type %d", status, 1+int(status_.type));
|
||||
// Logger::info().append("Returned status %02x of type %d", status, 1+int(status_.type));
|
||||
return status;
|
||||
}
|
||||
case 1:
|
||||
@@ -114,7 +114,7 @@ uint8_t WD1770::read(const int address) {
|
||||
update_status([] (Status &status) {
|
||||
status.data_request = false;
|
||||
});
|
||||
Logger::info().append("Returned data %02x; [drq:%d]", data_, status_.data_request);
|
||||
// Logger::info().append("Returned data %02x; [drq:%d]", data_, status_.data_request);
|
||||
return data_;
|
||||
}
|
||||
}
|
||||
@@ -487,12 +487,12 @@ void WD1770::posit_event(const int new_event_type) {
|
||||
WAIT_FOR_EVENT(Event::Token);
|
||||
if(get_latest_token().type != Token::Byte) goto type2_read_byte;
|
||||
data_ = get_latest_token().byte_value;
|
||||
Logger::info().append("Posting %02x", data_);
|
||||
// Logger::info().append("Posting %02x", data_);
|
||||
update_status([] (Status &status) {
|
||||
status.lost_data |= status.data_request;
|
||||
if(status.lost_data) {
|
||||
Logger::info().append("Lost data");
|
||||
}
|
||||
// if(status.lost_data) {
|
||||
// Logger::info().append("Lost data");
|
||||
// }
|
||||
status.data_request = true;
|
||||
});
|
||||
distance_into_section_++;
|
||||
|
||||
Reference in New Issue
Block a user