From: Bert Vermeulen Date: Tue, 5 Jun 2012 16:15:58 +0000 (+0200) Subject: hantek-dso: fix CH2 vdiv setting X-Git-Tag: dsupstream~919 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=1d97091e713d110a79f754472ea97f9286512567;p=libsigrok.git hantek-dso: fix CH2 vdiv setting --- diff --git a/hardware/hantek-dso/dso.c b/hardware/hantek-dso/dso.c index 1d590179..8c6a6000 100644 --- a/hardware/hantek-dso/dso.c +++ b/hardware/hantek-dso/dso.c @@ -443,12 +443,12 @@ SR_PRIV int dso_set_voltage(struct context *ctx) case VDIV_2V: case VDIV_200MV: case VDIV_20MV: - cmdstring[2] |= 0x08; + cmdstring[2] |= 0x04; break; case VDIV_5V: case VDIV_500MV: case VDIV_50MV: - cmdstring[2] |= 0x04; + cmdstring[2] |= 0x08; break; }