Fix emulation write offset.

Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
Pol Henarejos 2024-08-25 20:57:22 +02:00
parent 85be276915
commit 9ac4ebdaed
No known key found for this signature in database
GPG key ID: C0095B7870A4CCD3

View file

@ -225,7 +225,7 @@ void driver_exec_finished_cont_emul(uint8_t itf, uint16_t size_next, uint16_t of
#endif
#ifdef USB_ITF_CCID
if (itf == ITF_CCID) {
driver_write_emul(itf, emul_tx, size_next);
driver_write_emul(itf, emul_tx + offset, size_next);
}
#endif
}