mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-08-02 03:26:40 -04:00
WM8731: Add Codec abstraction.
This commit is contained in:
parent
37c058354e
commit
bec626e29f
6 changed files with 81 additions and 36 deletions
|
@ -108,7 +108,7 @@ bool WM8731::write(const address_t reg_address, const reg_t value) {
|
|||
return bus.transmit(bus_address, values.data(), values.size());
|
||||
}
|
||||
|
||||
reg_t WM8731::read(const address_t reg_address) {
|
||||
uint32_t WM8731::reg_read(const size_t reg_address) {
|
||||
return map.w[reg_address];
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue