summaryrefslogtreecommitdiffstats
path: root/rayer_spi.c
diff options
context:
space:
mode:
Diffstat (limited to 'rayer_spi.c')
-rw-r--r--rayer_spi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/rayer_spi.c b/rayer_spi.c
index 3d626b2ec..82c49b327 100644
--- a/rayer_spi.c
+++ b/rayer_spi.c
@@ -244,7 +244,7 @@ static int rayer_spi_init(void)
uint8_t lpt_outbyte;
/* Non-default port requested? */
- arg = extract_programmer_param_str("iobase");
+ arg = extract_programmer_param_str(NULL, "iobase");
if (arg) {
char *endptr = NULL;
unsigned long tmp;
@@ -277,7 +277,7 @@ static int rayer_spi_init(void)
msg_pdbg("Using address 0x%x as I/O base for parallel port access.\n",
lpt_iobase);
- arg = extract_programmer_param_str("type");
+ arg = extract_programmer_param_str(NULL, "type");
if (arg) {
for (; prog->type != NULL; prog++) {
if (strcasecmp(arg, prog->type) == 0) {