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. */
{
I2cSession audio;
if (R_SUCCEEDED(i2cOpenSession(&audio, I2cDevice_AudioCodec))) {
if (R_SUCCEEDED(i2cOpenSession(&audio, I2cDevice_Alc5639))) {
struct {
u16 dev;
u8 val;