Introduce reply_mix, to still get some varlen on old API

This commit is contained in:
Philippe Teuwen 2019-04-20 03:17:19 +02:00
commit a7773b3395
5 changed files with 64 additions and 22 deletions

View file

@ -1452,7 +1452,7 @@ static void PacketReceived(PacketCommandNG *packet) {
if (packet->ng) {
reply_ng(CMD_PING, PM3_SUCCESS, packet->data.asBytes, packet->length);
} else {
reply_old(CMD_ACK, reply_via_fpc, 0, 0, 0, 0);
reply_mix(CMD_ACK, reply_via_fpc, 0, 0, 0, 0);
}
break;
#ifdef WITH_LCD