]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/asix-sigma/protocol.h
asix-sigma: more u16 sample memory access nits (timestamps, values)
[libsigrok.git] / src / hardware / asix-sigma / protocol.h
index 64b8a02c89b91b4a7ddd8abc667974e5eb96c7f0..8c4f2dfbc2fd2a2902fe4cddcecebe2b8e9b358c 100644 (file)
@@ -205,10 +205,8 @@ enum sigma_read_register {
 
 struct sigma_dram_line {
        struct sigma_dram_cluster {
-               uint8_t timestamp[sizeof(uint16_t)];
-               struct sigma_dram_event {
-                       uint8_t sample[sizeof(uint16_t)];
-               } samples[EVENTS_PER_CLUSTER];
+               uint16_t timestamp;
+               uint16_t samples[EVENTS_PER_CLUSTER];
        } cluster[CLUSTERS_PER_ROW];
 };