Some fixes for emulation.

Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
Pol Henarejos
2024-01-01 20:56:36 +01:00
parent a9dc6fd7f8
commit b663f5bebf
3 changed files with 5 additions and 5 deletions

View File

@@ -264,7 +264,7 @@ int driver_process_usb_packet_emul(uint8_t itf, uint16_t len) {
apdu_finish();
if (sent > 0) {
uint16_t ret = apdu_next();
DEBUG_PAYLOAD(rdata, ret);
DEBUG_PAYLOAD(apdu.rdata, ret);
emul_write(itf, ret);
}
}