mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-18 08:11:21 +00:00
fatal: use new I2cDevice enum
This commit is contained in:
parent
31c4c33042
commit
9319463a6e
@ -22,7 +22,7 @@ void StopSoundTask::StopSound() {
|
||||
/* Talk to the ALC5639 over I2C, and disable audio output. */
|
||||
{
|
||||
I2cSession audio;
|
||||
if (R_SUCCEEDED(i2cOpenSession(&audio, I2cDevice_AudioCodec))) {
|
||||
if (R_SUCCEEDED(i2cOpenSession(&audio, I2cDevice_Alc5639))) {
|
||||
struct {
|
||||
u16 dev;
|
||||
u8 val;
|
||||
|
Loading…
Reference in New Issue
Block a user