From: HÃ¥vard Espeland Date: Tue, 18 Jan 2011 21:39:46 +0000 (+0100) Subject: Sigma: Set default samplerate to 200 KHz. X-Git-Tag: libsigrok-0.1.0~409 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=7c70c53843766003b881ca2c47f2c4bb454a3360;p=libsigrok.git Sigma: Set default samplerate to 200 KHz. --- diff --git a/hardware/asix-sigma/asix-sigma.c b/hardware/asix-sigma/asix-sigma.c index f356c848..b549c22f 100644 --- a/hardware/asix-sigma/asix-sigma.c +++ b/hardware/asix-sigma/asix-sigma.c @@ -1209,9 +1209,9 @@ static int hw_start_acquisition(int device_index, gpointer session_device_id) sigma = sdi->priv; - /* If the samplerate has not been set, default to 50 MHz. */ + /* If the samplerate has not been set, default to 200 KHz. */ if (sigma->cur_firmware == -1) - set_samplerate(sdi, MHZ(50)); + set_samplerate(sdi, KHZ(200)); /* Enter trigger programming mode. */ sigma_set_register(WRITE_TRIGGER_SELECT1, 0x20, sigma);