Skip to content

Commit b987595

Browse files
committed
applying one of deep dark secrets of C on declaration of global array
Signed-off-by: Meli <[email protected]>
1 parent 722f13f commit b987595

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ball_detect/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
volatile int32_t ends_of_pulses[4];
2424
volatile int32_t lenghts_of_pulses[4];
2525
volatile int32_t starts_of_pulses[4];
26-
volatile int32_t vision_result[3] = {0,0,0};
26+
volatile int32_t vision_result[3];
2727
volatile uint8_t pinstate, ct, changed_bits, portb_history = 0xFF, my_address;
2828

2929
void setup(void) {

0 commit comments

Comments
 (0)