aboutsummaryrefslogtreecommitdiff
path: root/fmdriver/ppz8.c
diff options
context:
space:
mode:
Diffstat (limited to 'fmdriver/ppz8.c')
-rw-r--r--fmdriver/ppz8.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fmdriver/ppz8.c b/fmdriver/ppz8.c
index 7984575..39caf0d 100644
--- a/fmdriver/ppz8.c
+++ b/fmdriver/ppz8.c
@@ -247,6 +247,7 @@ static void ppz8_channel_stop(struct ppz8 *ppz8, uint8_t ch) {
if (ch >= 8) return;
struct ppz8_channel *channel = &ppz8->channel[ch];
channel->playing = false;
+ channel->ptr = -1;
}
static void ppz8_channel_volume(struct ppz8 *ppz8, uint8_t ch, uint8_t vol) {