mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2024-12-25 22:32:29 +03:00
Update nice_flor_s.c
This commit is contained in:
parent
082bd9de5e
commit
26aa177d9c
@ -323,7 +323,7 @@ uint64_t subghz_protocol_nice_flor_s_encrypt(uint64_t data, const char* file_nam
|
|||||||
k = ~p[3];
|
k = ~p[3];
|
||||||
p[3] = ~p[1];
|
p[3] = ~p[1];
|
||||||
p[1] = k;
|
p[1] = k;
|
||||||
FURI_LOG_I(TAG, "encrypted_data = %016llX", data);
|
FURI_LOG_I(TAG, "encrypted_data = %016X", data);
|
||||||
return data;
|
return data;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -362,7 +362,7 @@ static uint64_t
|
|||||||
p[1] = k;
|
p[1] = k;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
FURI_LOG_I(TAG, "decrypted_data = %016llX", data);
|
FURI_LOG_I(TAG, "decrypted_data = %016X", data);
|
||||||
return data;
|
return data;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user