Do not init PHY on unserialize.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
parent
b4c67d2fa5
commit
80fa13a19c
1 changed files with 0 additions and 1 deletions
|
|
@ -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++) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue