summaryrefslogtreecommitdiffstats
path: root/keyboards/crkbd/ssd1306.h
diff options
context:
space:
mode:
authormarksard <38324387+marksard@users.noreply.github.com>2018-09-04 01:34:16 +0200
committerDrashna Jaelre <drashna@live.com>2018-09-04 01:34:16 +0200
commit35efcc9f398a1a2493b482dd1bd7c859f93ef450 (patch)
tree004b44e13067b8793ad9523340ce0539977bf8b9 /keyboards/crkbd/ssd1306.h
parentfa1ee47cf2293d06693b86e8dd188d9fbc9338c4 (diff)
downloadqmk_firmware-35efcc9f398a1a2493b482dd1bd7c859f93ef450.tar.gz
qmk_firmware-35efcc9f398a1a2493b482dd1bd7c859f93ef450.tar.xz
Keyboard: Improvement of crkbd communication functions (based on helix-keyboard) (#3798)
* improvement of crkbd communication functions (based on helix-keyboard) * Removed unnecessary code. * Changed read restriction from #define to #pragma once. * Changed from sizeof to defined size. * moved lib folder to crkbdroot. removed warning of ws2812.d
Diffstat (limited to 'keyboards/crkbd/ssd1306.h')
-rw-r--r--keyboards/crkbd/ssd1306.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/keyboards/crkbd/ssd1306.h b/keyboards/crkbd/ssd1306.h
index 59d31c9f3..76dd6a2a7 100644
--- a/keyboards/crkbd/ssd1306.h
+++ b/keyboards/crkbd/ssd1306.h
@@ -1,10 +1,8 @@
-#ifndef SSD1306_H
-#define SSD1306_H
+#pragma once
#include <stdbool.h>
#include <stdio.h>
#include "pincontrol.h"
-#include "config.h"
enum ssd1306_cmds {
DisplayOff = 0xAE,
@@ -88,7 +86,3 @@ void matrix_write(struct CharacterMatrix *matrix, const char *data);
void matrix_write_ln(struct CharacterMatrix *matrix, const char *data);
void matrix_write_P(struct CharacterMatrix *matrix, const char *data);
void matrix_render(struct CharacterMatrix *matrix);
-
-
-
-#endif