RFID: write fix for some protocols

OFW PR 1828 by nminaylov
This commit is contained in:
MX
2022-10-04 21:06:16 +03:00
parent b5d6d60535
commit 96502e21ae
4 changed files with 20 additions and 0 deletions

View File

@@ -221,6 +221,7 @@ bool protocol_pyramid_write_data(ProtocolPyramid* protocol, void* data) {
// Correct protocol data by redecoding
protocol_pyramid_encode(protocol);
bit_lib_remove_bit_every_nth(protocol->encoded_data, 8, 15 * 8, 8);
protocol_pyramid_decode(protocol);
protocol_pyramid_encoder_start(protocol);