mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2026-09-09 00:09:06 +00:00
Add retry mechanism for volume write (#3121)
This commit is contained in:
@@ -145,14 +145,14 @@ void WM8731::write(const RightLineIn value) {
|
||||
write(Register::RightLineIn);
|
||||
}
|
||||
|
||||
void WM8731::write(const LeftHeadphoneOut value) {
|
||||
bool WM8731::write(const LeftHeadphoneOut value) {
|
||||
map.r.left_headphone_out = value;
|
||||
write(Register::LeftHeadphoneOut);
|
||||
return write(Register::LeftHeadphoneOut);
|
||||
}
|
||||
|
||||
void WM8731::write(const RightHeadphoneOut value) {
|
||||
bool WM8731::write(const RightHeadphoneOut value) {
|
||||
map.r.right_headphone_out = value;
|
||||
write(Register::RightHeadphoneOut);
|
||||
return write(Register::RightHeadphoneOut);
|
||||
}
|
||||
|
||||
void WM8731::write(const AnalogAudioPathControl value) {
|
||||
|
||||
Reference in New Issue
Block a user