From 9214a4942ab053d92a3bd3dad6270767eaa4cf36 Mon Sep 17 00:00:00 2001 From: David Neukirchen Date: Mon, 16 Sep 2024 22:47:36 +0200 Subject: [PATCH] fix sleep after playlist not toggling nightmode (#336) Wrong property was passed to the sleep handler. Fix copy & paste error --- src/Cmd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Cmd.cpp b/src/Cmd.cpp index 23e27049..854fff0c 100644 --- a/src/Cmd.cpp +++ b/src/Cmd.cpp @@ -114,7 +114,7 @@ void Cmd_Action(const uint16_t mod) { gPlayProperties.playUntilTrackNumber = 0; gPlayProperties.sleepAfterPlaylist = !gPlayProperties.sleepAfterPlaylist; - Cmd_HandleSleepAction(gPlayProperties.sleepAfterCurrentTrack, modificatorSleepAtEOP, "EOP"); + Cmd_HandleSleepAction(gPlayProperties.sleepAfterPlaylist, modificatorSleepAtEOP, "EOP"); System_IndicateOk(); break; }