mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-05 19:51:45 +00:00
fatal: use new I2cDevice enum
This commit is contained in:
parent
31c4c33042
commit
9319463a6e
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue