X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Fhantek-dso%2Fprotocol.h;h=626e7f9fdc71dc441f9be716181e0f3dbc1d562d;hb=ab8df2b1a64d7891e4fbbcdef047e28343819dc9;hp=5b98e3f2cfee5f6f21e5bef999a83e237f018239;hpb=12f62ce62094500250062c4d0d0b78deeb303ec9;p=libsigrok.git diff --git a/src/hardware/hantek-dso/protocol.h b/src/hardware/hantek-dso/protocol.h index 5b98e3f2..626e7f9f 100644 --- a/src/hardware/hantek-dso/protocol.h +++ b/src/hardware/hantek-dso/protocol.h @@ -52,7 +52,7 @@ /* All models have this for their "fast" mode. */ #define FRAMESIZE_SMALL (10 * 1024) -#define NUM_CHANNELS 2 +#define NUM_CHANNELS 2 enum control_requests { CTRL_READ_EEPROM = 0xa2, @@ -75,8 +75,10 @@ enum dso_commands { CMD_SET_LOGICALDATA = 0x8, CMD_GET_LOGICALDATA = 0x9, CMD__UNUSED1 = 0xa, - /* For the following and other specials please see - * http://openhantek.sourceforge.net/doc/namespaceHantek.html#ac1cd181814cf3da74771c29800b39028 */ + /* + * For the following and other specials please see + * http://openhantek.sourceforge.net/doc/namespaceHantek.html#ac1cd181814cf3da74771c29800b39028 + */ CMD_2250_SET_CHANNELS = 0xb, CMD_2250_SET_TRIGGERSOURCE = 0xc, CMD_2250_SET_RECORD_LENGTH = 0xd, @@ -139,7 +141,7 @@ enum capturestates { CAPTURE_EMPTY = 0, CAPTURE_FILLING = 1, CAPTURE_READY_8BIT = 2, - CAPTURE_READY2250 = 3, + CAPTURE_READY_2250 = 3, CAPTURE_READY_9BIT = 7, CAPTURE_TIMEOUT = 127, CAPTURE_UNKNOWN = 255,