fatal: use new I2cDevice enum
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user