X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Fkingst-la2016%2Fprotocol.h;fp=src%2Fhardware%2Fkingst-la2016%2Fprotocol.h;h=3fdf827932cc62e5744ff7c7551f97a65e57daa4;hb=69320ad31c261df3e191aeb4c87daed299068661;hp=ffdd09a242be17d364df7bbfe092797f9f839a50;hpb=11cd0ff15948a6c3999f66a6b45ace11049b09ee;p=libsigrok.git diff --git a/src/hardware/kingst-la2016/protocol.h b/src/hardware/kingst-la2016/protocol.h index ffdd09a2..3fdf8279 100644 --- a/src/hardware/kingst-la2016/protocol.h +++ b/src/hardware/kingst-la2016/protocol.h @@ -107,7 +107,7 @@ #define LA2016_CONVBUFFER_SIZE (4 * 1024 * 1024) struct kingst_model { - uint8_t magic; /* EEPROM magic byte value. */ + uint8_t magic, magic2; /* EEPROM magic byte values. */ const char *name; /* User perceived model name. */ const char *fpga_stem; /* Bitstream filename stem. */ uint64_t samplerate; /* Max samplerate in Hz. */ @@ -120,7 +120,7 @@ struct dev_context { char *mcu_firmware; char *fpga_bitstream; uint64_t fw_uploaded; /* Timestamp of most recent FW upload. */ - uint8_t identify_magic; + uint8_t identify_magic, identify_magic2; const struct kingst_model *model; struct sr_channel_group *cg_logic, *cg_pwm;