X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fscpi%2Fscpi.c;h=511e3cd20bc6e56eca6d711e30991ae00046d1a4;hb=11e33196560a753b8af2486780dcb5f427a89177;hp=84335408a70ef77a4ddd09c1f96fa75bf736a6c3;hpb=47bbc4b531eb8e491115b0dbcb686d23c78235fb;p=libsigrok.git diff --git a/src/scpi/scpi.c b/src/scpi/scpi.c index 84335408..511e3cd2 100644 --- a/src/scpi/scpi.c +++ b/src/scpi/scpi.c @@ -627,7 +627,7 @@ SR_PRIV int sr_scpi_get_double(struct sr_scpi_dev_inst *scpi, if (ret != SR_OK && !response) return ret; - if (sr_atod(response, scpi_response) == SR_OK) + if (sr_atod_ascii(response, scpi_response) == SR_OK) ret = SR_OK; else ret = SR_ERR_DATA;