diff cdd_mcu.c @ 2266:5083bc84fd84

Finish seeking after a CDD STOP command is sent
author Michael Pavone <pavone@retrodev.com>
date Sat, 24 Dec 2022 14:02:14 -0800
parents a8af8d898a7c
children 827ab6dd534a
line wrap: on
line diff
--- a/cdd_mcu.c	Fri Dec 23 15:07:06 2022 -0800
+++ b/cdd_mcu.c	Sat Dec 24 14:02:14 2022 -0800
@@ -168,6 +168,9 @@
 	uint32_t prev_pba = context->head_pba;
 	switch (context->status)
 	{
+	case DS_STOP:
+		handle_seek(context);
+		break;
 	case DS_PLAY:
 		handle_seek(context);
 		if (!context->seeking) {