Sigma: Set default samplerate to 200 KHz.

This commit is contained in:
Håvard Espeland 2011-01-18 22:39:46 +01:00
parent 5b5ea7c6d2
commit 7c70c53843
1 changed files with 2 additions and 2 deletions

View File

@ -1209,9 +1209,9 @@ static int hw_start_acquisition(int device_index, gpointer session_device_id)
sigma = sdi->priv; 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) if (sigma->cur_firmware == -1)
set_samplerate(sdi, MHZ(50)); set_samplerate(sdi, KHZ(200));
/* Enter trigger programming mode. */ /* Enter trigger programming mode. */
sigma_set_register(WRITE_TRIGGER_SELECT1, 0x20, sigma); sigma_set_register(WRITE_TRIGGER_SELECT1, 0x20, sigma);