mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-22 12:33:29 +00:00
Corrects AccessType::Read.
This commit is contained in:
parent
3b2d65fa16
commit
8f2eea8819
@ -101,7 +101,7 @@ enum class Operation: uint8_t {
|
||||
|
||||
constexpr AccessType access_type(Operation operation) {
|
||||
if(operation < Operation::ADC) return AccessType::None;
|
||||
if(operation < Operation::LDM) return AccessType::Read;
|
||||
if(operation < Operation::ASL) return AccessType::Read;
|
||||
if(operation < Operation::LDM) return AccessType::Write;
|
||||
return AccessType::ReadModifyWrite;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user