Skip to content

Commit bed96a9

Browse files
authored
Merge pull request adafruit#4337 from tyomitch/patch-1
[stm] `curr_pulseout` can be `STATIC`
2 parents 2881699 + 4720dc1 commit bed96a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ports/stm/common-hal/pulseio/PulseOut.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ STATIC volatile uint16_t pulse_array_index = 0;
4747
STATIC uint16_t pulse_array_length;
4848
//Timer is shared, must be accessible by interrupt
4949
STATIC TIM_HandleTypeDef tim_handle;
50-
pulseio_pulseout_obj_t *curr_pulseout = NULL;
50+
STATIC pulseio_pulseout_obj_t *curr_pulseout = NULL;
5151

5252

5353
STATIC void turn_on(pulseio_pulseout_obj_t *pulseout) {

0 commit comments

Comments
 (0)