Skip to content

Commit

Permalink
Fix efuseRead polling
Browse files Browse the repository at this point in the history
  • Loading branch information
medusalix committed Oct 8, 2021
1 parent 700529b commit a396e3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dongle/mt76.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1991,7 +1991,7 @@ Bytes Mt76::efuseRead(uint8_t address, uint8_t length)
Bytes data;

bool successful = pollTimeout([this] {
return MT_EFUSE_CTRL & MT_EFUSE_CTRL_KICK;
return controlRead(MT_EFUSE_CTRL) & MT_EFUSE_CTRL_KICK;
});

if (!successful)
Expand Down

0 comments on commit a396e3f

Please sign in to comment.