Skip to content

Commit bf72183

Browse files
added missing swap function
1 parent 3abcfb4 commit bf72183

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Led_Matrix.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#include "Led_Matrix.h"
22

3+
#define swap(a, b) { int16_t t = a; a = b; b = t; }
4+
35
Led_Matrix::Led_Matrix(uint16_t width, uint16_t height, uint8_t cols, uint8_t rows, uint16_t buffer_length) :
46
Adafruit_GFX(width, height),
57

0 commit comments

Comments
 (0)