X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Frigol-ds%2Fprotocol.h;h=5e5f01ba3b4fc0a5575c156c393cf9a927cd91fd;hb=eaa6a7a3e8f9b62e6aa139f976c243266628263f;hp=631c81dbb8fab4dbe1a02d8467711b05e5c3975a;hpb=702f42e8eb33d8d1ffb5b748097428c0f4434c6d;p=libsigrok.git diff --git a/src/hardware/rigol-ds/protocol.h b/src/hardware/rigol-ds/protocol.h index 631c81db..5e5f01ba 100644 --- a/src/hardware/rigol-ds/protocol.h +++ b/src/hardware/rigol-ds/protocol.h @@ -23,16 +23,16 @@ #include #include -#include "libsigrok.h" +#include #include "libsigrok-internal.h" #define LOG_PREFIX "rigol-ds" /* Size of acquisition buffers */ -#define ACQ_BUFFER_SIZE 32768 +#define ACQ_BUFFER_SIZE (32 * 1024) /* Maximum number of samples to retrieve at once. */ -#define ACQ_BLOCK_SIZE 30000 +#define ACQ_BLOCK_SIZE (30 * 1000) #define MAX_ANALOG_CHANNELS 4 #define MAX_DIGITAL_CHANNELS 16