We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 852cb6d commit e1c40daCopy full SHA for e1c40da
src/dmdreader.c
@@ -346,6 +346,11 @@ int detect_dmd()
346
347
printf("", dotclk, de, rdata);
348
349
+ // Force SPIKE1
350
+ spi_notify_onoff(DMD_SPIKE1);
351
+ return DMD_SPIKE1;
352
+
353
354
if ((dotclk > 450000) && (dotclk < 550000) &&
355
(de > 3800) && (de < 4000) &&
356
(rdata > 115) && (rdata < 130))
@@ -374,11 +379,6 @@ int detect_dmd()
374
379
return DMD_SAM;
375
380
}
376
381
377
- // Fallback to SPIKE1
378
- spi_notify_onoff(DMD_SPIKE1);
- return DMD_SPIKE1;
-
382
spi_notify_onoff(1);
383
return DMD_UNKNOWN;
384
0 commit comments