Update nice_flor_s.c

This commit is contained in:
r3df0xx 2022-03-30 14:58:00 +03:00
parent 72dab0ca0c
commit 040f09eeec

View File

@ -128,7 +128,7 @@ static bool
}
instance->generic.cnt++;
uint64_t decrypt = (uint64_t)(instance->generic.serial << 16) | (instance->generic.cnt);
uint64_t decrypt = (uint64_t)( (instance->generic.serial << 16) | (instance->generic.cnt) );
FURI_LOG_I(TAG, "decrypt = %X", decrypt);
uint64_t enc_part = (uint64_t)subghz_protocol_nice_flor_s_encrypt(decrypt, file_name);
FURI_LOG_I(TAG, "enc_part = %X", enc_part);