diff --git a/src/hardware/dreamsourcelab-dslogic/protocol.c b/src/hardware/dreamsourcelab-dslogic/protocol.c index 0f171518..584f3b1b 100644 --- a/src/hardware/dreamsourcelab-dslogic/protocol.c +++ b/src/hardware/dreamsourcelab-dslogic/protocol.c @@ -1020,8 +1020,8 @@ static void LIBUSB_CALL trigger_receive(struct libusb_transfer *transfer) } else if (transfer->status == LIBUSB_TRANSFER_COMPLETED && transfer->actual_length == sizeof(struct dslogic_trigger_pos)) { tpos = (struct dslogic_trigger_pos *)transfer->buffer; - sr_info("tpos real_pos %d ram_saddr %d cnt %d", tpos->real_pos, - tpos->ram_saddr, tpos->remain_cnt); + sr_info("tpos real_pos %d ram_saddr %d cnt_h %d cnt_l %d", tpos->real_pos, + tpos->ram_saddr, tpos->remain_cnt_h, tpos->remain_cnt_l); devc->trigger_pos = tpos->real_pos; g_free(tpos); start_transfers(sdi); diff --git a/src/hardware/dreamsourcelab-dslogic/protocol.h b/src/hardware/dreamsourcelab-dslogic/protocol.h index 6d64f31f..6af7c823 100644 --- a/src/hardware/dreamsourcelab-dslogic/protocol.h +++ b/src/hardware/dreamsourcelab-dslogic/protocol.h @@ -77,10 +77,13 @@ struct dslogic_mode { }; struct dslogic_trigger_pos { + uint32_t check_id; uint32_t real_pos; uint32_t ram_saddr; - uint32_t remain_cnt; - uint8_t first_block[500]; + uint32_t remain_cnt_l; + uint32_t remain_cnt_h; + uint32_t status; + uint8_t first_block[488]; }; struct dslogic_profile {