Skip to content

Commit 1818e36

Browse files
committed
Remove NOPs now that the clock speed is down to 72MHz
1 parent 907db1b commit 1818e36

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

hardware.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,15 +83,13 @@ void strobePin(u32 bank, u8 pin, u8 count, u32 rate,u8 onState)
8383
for (c = rate; c > 0; c--)
8484
{
8585
asm volatile("nop");
86-
asm volatile("nop");
8786
}
8887

8988
gpio_write_bit( bank,pin,onState);
9089

9190
for (c = rate; c > 0; c--)
9291
{
9392
asm volatile("nop");
94-
asm volatile("nop");
9593
}
9694
gpio_write_bit( bank,pin,1-onState);
9795
}

0 commit comments

Comments
 (0)