From: Jan Losinski Date: Thu, 12 Jan 2017 21:50:25 +0000 (+0100) Subject: Select enable OE0 instead of OE2 in 6022BL X-Git-Tag: sigrok-firmware-fx2lafw-0.1.5~5 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=90fdecb7399353d9b806b303c92d20be810943b3;p=sigrok-firmware-fx2lafw.git Select enable OE0 instead of OE2 in 6022BL Signed-off-by: Jan Losinski --- diff --git a/hantek_6022bl.c b/hantek_6022bl.c index 44b917d1..fc2c5812 100644 --- a/hantek_6022bl.c +++ b/hantek_6022bl.c @@ -223,16 +223,16 @@ static const struct samplerate_info { } samplerates[] = { { 48, 0x80, 0, 3, 0, 0x00, 0xea }, { 30, 0x80, 0, 3, 0, 0x00, 0xaa }, - { 24, 1, 0, 2, 1, 0x40, 0xca }, - { 16, 1, 1, 2, 0, 0x40, 0xca }, - { 12, 2, 1, 2, 0, 0x40, 0xca }, - { 8, 3, 2, 2, 0, 0x40, 0xca }, - { 4, 6, 5, 2, 0, 0x40, 0xca }, - { 2, 12, 11, 2, 0, 0x40, 0xca }, - { 1, 24, 23, 2, 0, 0x40, 0xca }, - { 50, 48, 47, 2, 0, 0x40, 0xca }, - { 20, 120, 119, 2, 0, 0x40, 0xca }, - { 10, 240, 239, 2, 0, 0x40, 0xca }, + { 24, 1, 0, 2, 1, 0x10, 0xca }, + { 16, 1, 1, 2, 0, 0x10, 0xca }, + { 12, 2, 1, 2, 0, 0x10, 0xca }, + { 8, 3, 2, 2, 0, 0x10, 0xca }, + { 4, 6, 5, 2, 0, 0x10, 0xca }, + { 2, 12, 11, 2, 0, 0x10, 0xca }, + { 1, 24, 23, 2, 0, 0x10, 0xca }, + { 50, 48, 47, 2, 0, 0x10, 0xca }, + { 20, 120, 119, 2, 0, 0x10, 0xca }, + { 10, 240, 239, 2, 0, 0x10, 0xca }, }; static BOOL set_samplerate(BYTE rate)