mirror of
https://github.com/polhenarejos/pico-keys-sdk
synced 2026-05-28 17:11:23 +02:00
@@ -56,7 +56,6 @@ int phy_unserialize_data(const uint8_t *data, uint16_t len, phy_data_t *phy) {
|
|||||||
memset(phy, 0, sizeof(phy_data_t));
|
memset(phy, 0, sizeof(phy_data_t));
|
||||||
const uint8_t *p = data;
|
const uint8_t *p = data;
|
||||||
while (p < data + len) {
|
while (p < data + len) {
|
||||||
printf("TAG %x\n",*p);
|
|
||||||
switch (*p++) {
|
switch (*p++) {
|
||||||
case PHY_VIDPID:
|
case PHY_VIDPID:
|
||||||
memcpy(phy->vidpid, p, 4);
|
memcpy(phy->vidpid, p, 4);
|
||||||
|
|||||||
Reference in New Issue
Block a user