changeset 2270:827ab6dd534a

Adjust when not-ready is returned during coarse seeking to fix some regressions
author Michael Pavone <pavone@retrodev.com>
date Mon, 26 Dec 2022 12:42:12 -0800
parents 6677afe78a6f
children 3ef80963c2a7
files cdd_mcu.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/cdd_mcu.c	Mon Dec 26 07:17:29 2022 -0800
+++ b/cdd_mcu.c	Mon Dec 26 12:42:12 2022 -0800
@@ -235,7 +235,7 @@
 		break;
 	}
 	uint8_t force_not_ready = 0;
-	if (context->coarse_seek  && !(context->coarse_seek % 15)) {
+	if (context->coarse_seek  && !(context->coarse_seek % 6)) {
 		//TODO: adjust seeking for focus error when these bad statuses happen
 		//BIOS depends on getting a not ready status during seeking to clear certain state
 		force_not_ready = context->status_buffer.format != SF_NOTREADY;