]> sigrok.org Git - libsigrok.git/commitdiff
scpi: properly check for HAVE_RPC (which is always defined)
authorAurelien Jacobs <redacted>
Mon, 13 Jan 2014 23:17:44 +0000 (00:17 +0100)
committerAurelien Jacobs <redacted>
Mon, 13 Jan 2014 23:18:31 +0000 (00:18 +0100)
hardware/common/scpi.c

index beb33423934224df8287378a2dad942ccf783162..8093490886d8eace63ece67a5ddbde6f4d880db8 100644 (file)
@@ -75,7 +75,7 @@ static const struct sr_scpi_dev_inst *scpi_devs[] = {
        &scpi_tcp_raw_dev,
        &scpi_tcp_rigol_dev,
        &scpi_usbtmc_dev,
-#ifdef HAVE_RPC
+#if HAVE_RPC
        &scpi_vxi_dev,
 #endif
 #ifdef HAVE_LIBSERIALPORT