Skip to content

Commit 8365d9d

Browse files
committed
Remove volatile
1 parent ed8b378 commit 8365d9d

File tree

1 file changed

+1
-1
lines changed
  • TESTS/mbed_hal/flash/functional_tests

1 file changed

+1
-1
lines changed

TESTS/mbed_hal/flash/functional_tests/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ static int time_cpu_cycles(uint32_t cycles)
101101

102102
int timer_start = timer.read_us();
103103

104-
volatile uint32_t delay = (volatile uint32_t)cycles;
104+
uint32_t delay = cycles;
105105
delay_loop(delay);
106106
int timer_end = timer.read_us();
107107

0 commit comments

Comments
 (0)