mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-20 13:23:51 -07:00
fix shadowed variable
This commit is contained in:
parent
42f0699c78
commit
6abb217a18
1 changed files with 2 additions and 2 deletions
|
@ -296,9 +296,9 @@ static void UsbPacketReceived(uint8_t *packet) {
|
|||
}
|
||||
|
||||
// delay_loop(1) = 3.07us
|
||||
static volatile uint32_t c;
|
||||
static volatile uint32_t ccc;
|
||||
static void __attribute__((optimize("O0"))) delay_loop(uint32_t delay) {
|
||||
for (c = delay * 2; c; c--) {};
|
||||
for (ccc = delay * 2; ccc; ccc--) {};
|
||||
}
|
||||
|
||||
static void flash_mode(void) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue