Skip to content

Commit 4720dc1

Browse files
authored
[stm] curr_pulseout can be STATIC
Not used outside of PulseOut.c
1 parent c68073e commit 4720dc1

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)