Skip to content

Commit 3a35927

Browse files
authored
Prevent multiple inclusion by adding include guards.
This fixes #228.
1 parent 6ee152f commit 3a35927

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

+3-1
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)