Skip to content

Commit

Permalink
SMS - mute audio on button press instead of on release
Browse files Browse the repository at this point in the history
  • Loading branch information
mattkj committed Mar 7, 2019
1 parent 9872b88 commit ef15467
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion smsplusgx-go/main/main.c
Expand Up @@ -708,7 +708,7 @@ void app_main(void)
DoMenuHomeNoSave();
}

if (previousState.values[ODROID_INPUT_VOLUME] && !joystick.values[ODROID_INPUT_VOLUME])
if (!previousState.values[ODROID_INPUT_VOLUME] && joystick.values[ODROID_INPUT_VOLUME])
{
odroid_audio_volume_mute();
printf("main: Volume=%d\n", odroid_audio_volume_get());
Expand Down

0 comments on commit ef15467

Please sign in to comment.