From 9319463a6e5ab97c20e1ec1566e7caddf6a48915 Mon Sep 17 00:00:00 2001 From: Michael Scire Date: Thu, 2 May 2019 17:54:05 -0700 Subject: [PATCH] fatal: use new I2cDevice enum --- stratosphere/fatal/source/fatal_task_sound.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stratosphere/fatal/source/fatal_task_sound.cpp b/stratosphere/fatal/source/fatal_task_sound.cpp index 929cfe0a2..dc2dbbec2 100644 --- a/stratosphere/fatal/source/fatal_task_sound.cpp +++ b/stratosphere/fatal/source/fatal_task_sound.cpp @@ -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;