diff options
Diffstat (limited to 'linux_spi.c')
-rw-r--r-- | linux_spi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux_spi.c b/linux_spi.c index d12fceb2e..135af9f7e 100644 --- a/linux_spi.c +++ b/linux_spi.c @@ -68,7 +68,7 @@ int linux_spi_init(void) p = extract_programmer_param("spispeed"); if (p && strlen(p)) { - speed = (uint32_t)strtoul(p, &endp, 10) * 1024; + speed = (uint32_t)strtoul(p, &endp, 10) * 1000; if (p == endp) { msg_perr("%s: invalid clock: %s kHz\n", __func__, p); free(p); |