summaryrefslogtreecommitdiffstats
path: root/developerbox_spi.c
diff options
context:
space:
mode:
Diffstat (limited to 'developerbox_spi.c')
-rw-r--r--developerbox_spi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/developerbox_spi.c b/developerbox_spi.c
index 6308da630..d585418a2 100644
--- a/developerbox_spi.c
+++ b/developerbox_spi.c
@@ -152,7 +152,7 @@ static int developerbox_spi_init(void)
return 1;
}
- char *serialno = extract_programmer_param_str("serial");
+ char *serialno = extract_programmer_param_str(NULL, "serial");
if (serialno)
msg_pdbg("Looking for serial number commencing %s\n", serialno);
cp210x_handle = usb_dev_get_by_vid_pid_serial(usb_ctx,