Skip to content

Commit 0c2cc1c

Browse files
committed
Prevent multiple inclusion by adding include guards. (#231)
This fixes #228.
1 parent b75c538 commit 0c2cc1c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

libraries/Arduino_LED_Matrix/src/Arduino_LED_Matrix.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#pragma once
2+
13
#include "Arduino.h"
24
#include "FspTimer.h"
35
#include "gallery.h"
@@ -300,4 +302,4 @@ class ArduinoLEDMatrix
300302
}
301303
}
302304
}
303-
};
305+
};

0 commit comments

Comments
 (0)