Skip to content

Commit 6486ee0

Browse files
committed
Moving swapOLED to cpp.
1 parent 4c4b7f0 commit 6486ee0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/SFE_MicroOLED.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
6969
#define TOTALFONTS 4
7070
#endif
7171

72+
#define swapOLED(a, b) { uint8_t t = a; a = b; b = t; }
73+
7274
// Add the font name as declared in the header file. Remove as many as possible to conserve FLASH memory.
7375
const unsigned char *MicroOLED::fontsPointer[]={
7476
font5x7

src/SFE_MicroOLED.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
4747
#include <pgmspace.h>
4848
#endif
4949

50-
#define swapOLED(a, b) { uint8_t t = a; a = b; b = t; }
51-
5250
#define I2C_ADDRESS_SA0_0 0b0111100
5351
#define I2C_ADDRESS_SA0_1 0b0111101
5452
#define I2C_COMMAND 0x00

0 commit comments

Comments
 (0)