comparison cdd_mcu.c @ 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 5083bc84fd84
children 9ead0fe69d9b
comparison
equal deleted inserted replaced
2269:6677afe78a6f 2270:827ab6dd534a
233 } 233 }
234 } 234 }
235 break; 235 break;
236 } 236 }
237 uint8_t force_not_ready = 0; 237 uint8_t force_not_ready = 0;
238 if (context->coarse_seek && !(context->coarse_seek % 15)) { 238 if (context->coarse_seek && !(context->coarse_seek % 6)) {
239 //TODO: adjust seeking for focus error when these bad statuses happen 239 //TODO: adjust seeking for focus error when these bad statuses happen
240 //BIOS depends on getting a not ready status during seeking to clear certain state 240 //BIOS depends on getting a not ready status during seeking to clear certain state
241 force_not_ready = context->status_buffer.format != SF_NOTREADY; 241 force_not_ready = context->status_buffer.format != SF_NOTREADY;
242 } 242 }
243 if (context->first_cmd_received) { 243 if (context->first_cmd_received) {