1
0
Fork 0
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:
Michael Scire 2019-05-02 17:54:05 -07:00
parent 31c4c33042
commit 9319463a6e

View file

@ -22,7 +22,7 @@ void StopSoundTask::StopSound() {
/* Talk to the ALC5639 over I2C, and disable audio output. */ /* Talk to the ALC5639 over I2C, and disable audio output. */
{ {
I2cSession audio; I2cSession audio;
if (R_SUCCEEDED(i2cOpenSession(&audio, I2cDevice_AudioCodec))) { if (R_SUCCEEDED(i2cOpenSession(&audio, I2cDevice_Alc5639))) {
struct { struct {
u16 dev; u16 dev;
u8 val; u8 val;