summaryrefslogtreecommitdiffstats
path: root/pony_spi.c
diff options
context:
space:
mode:
Diffstat (limited to 'pony_spi.c')
-rw-r--r--pony_spi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pony_spi.c b/pony_spi.c
index 408fa12b7..0647f9121 100644
--- a/pony_spi.c
+++ b/pony_spi.c
@@ -244,7 +244,7 @@ static int pony_spi_init(const struct programmer_cfg *cfg)
for (i = 1; i <= 10; i++) {
data_out = i & 1;
sp_set_pin(PIN_RTS, data_out);
- internal_delay(1000);
+ default_delay(1000);
/* If DSR does not change, we are not connected to what we think */
if (data_out != sp_get_pin(PIN_DSR)) {