mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-05-31 20:44:31 -04:00
Enhanced Debug -> Peripherals app to allow direct register modification (#1584)
* Add files via upload * Add files via upload * Add files via upload * Add files via upload * Clang * Clang * Tweak position of field on screen * Reverted text on Write button per reviewer feedback
This commit is contained in:
parent
10f6600f52
commit
ef92c5bc0a
15 changed files with 178 additions and 79 deletions
|
@ -862,6 +862,10 @@ class AK4951 : public audio::Codec {
|
|||
return read(reg_address);
|
||||
}
|
||||
|
||||
void reg_write(const size_t reg_address, const uint32_t value) override {
|
||||
write(reg_address, value);
|
||||
}
|
||||
|
||||
private:
|
||||
I2C& bus;
|
||||
const I2C::address_t bus_address;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue