Do not init PHY on unserialize.

Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
Pol Henarejos 2025-01-29 16:57:53 +01:00
parent b4c67d2fa5
commit 80fa13a19c
No known key found for this signature in database
GPG key ID: C0095B7870A4CCD3

View file

@ -63,7 +63,6 @@ int phy_unserialize_data(const uint8_t *data, uint16_t len, phy_data_t *phy) {
if (!phy || !data || !len) {
return PICOKEY_ERR_NULL_PARAM;
}
memset(phy, 0, sizeof(phy_data_t));
const uint8_t *p = data;
while (p < data + len) {
switch (*p++) {