i2c: implement remaining required driver logic
This commit is contained in:
1 parent
43f7b10c0f
commit
22ae1d5bd3
14 files changed
+307
-17
No files matched your search
+3
-3
@@ -397,7 +397,7 @@ namespace ams::i2c::driver::board::nintendo_nx::impl {
|
||||
|
||||
this->DisableInterruptMask();
|
||||
os::ClearInterruptEvent(std::addressof(this->interrupt_event));
|
||||
return i2c::ResultInterruptTimeout();
|
||||
return i2c::ResultTimeout();
|
||||
}
|
||||
|
||||
/* Check and handle any errors. */
|
||||
@@ -427,7 +427,7 @@ namespace ams::i2c::driver::board::nintendo_nx::impl {
|
||||
|
||||
this->DisableInterruptMask();
|
||||
os::ClearInterruptEvent(std::addressof(this->interrupt_event));
|
||||
return i2c::ResultInterruptTimeout();
|
||||
return i2c::ResultTimeout();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -472,7 +472,7 @@ namespace ams::i2c::driver::board::nintendo_nx::impl {
|
||||
|
||||
this->DisableInterruptMask();
|
||||
os::ClearInterruptEvent(std::addressof(this->interrupt_event));
|
||||
return i2c::ResultInterruptTimeout();
|
||||
return i2c::ResultTimeout();
|
||||
}
|
||||
|
||||
/* Check and handle any errors. */
|
||||
|
||||
Reference in new issue
Block a user