Commits

Trammell Hudson committed 160a30f Draft

Increase speed of dumping

Comments (0)

Files changed (1)

 )
 {
 	set_address(addr);
-	_delay_ms(1);
+	for(uint8_t i = 0 ; i < 255; i++)
+	{
+		asm("nop");
+		asm("nop");
+		asm("nop");
+		asm("nop");
+		asm("nop");
+		asm("nop");
+		asm("nop");
+	}
 
 #define DATA_BIT(ID) \
 	(CAT(DATA_PORT_, ID) & (1 << CAT(DATA_PIN_, ID)) ? 1 : 0)
 	// "AT command", which can still be buffered.
 	usb_serial_flush_input();
 
+	send_str(PSTR("Press enter to dump\r\n"));
+
 #if 0
 
 	uint16_t addr = 0;