summaryrefslogtreecommitdiff
path: root/keyboards/crkbd/ssd1306.h
diff options
context:
space:
mode:
authorcomaid <44457151+comaid@users.noreply.github.com>2018-11-13 05:19:29 +0900
committerDrashna Jaelre <drashna@live.com>2018-11-12 12:19:29 -0800
commitaa03049015855cdd5f61e6e8a7c6955abc5d3141 (patch)
treec63eb623ddb31e454dabef738ce6be16410b77cb /keyboards/crkbd/ssd1306.h
parentb1e74aee43596e2601248b0a78b2c54c897ce78b (diff)
Fix up screen off timer of crkbd (#4346)
* fix about screen off timer * Fix Up ScreenOffInterval exceeded uint16_t * Fix Up never waking up once screen off if in case of matrix are not dirty. * Revert "fix about screen off timer" This reverts commit 3d175f2340c14250a71af78afec5a1e890d9f4e7. * Fix up screen off timer of crkbd * Fix Up ScreenOffInterval exceeded uint16_t * Fix Up never waking up once screen off if in case of matrix are not dirty. * Fix up screen off timer of helix * Fix Up ScreenOffInterval exceeded uint16_t * Fix Up never waking up once screen off if in case of matrix are not dirty * Revert "Fix up screen off timer of helix" This reverts commit f0efb82443a7dc34b75579359b0514e8bfa51100. * Improve internal processing of process_record_kb() * Use the return value of process_record_gfx() * Fix a indent Fix a indent
Diffstat (limited to 'keyboards/crkbd/ssd1306.h')
-rw-r--r--keyboards/crkbd/ssd1306.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/keyboards/crkbd/ssd1306.h b/keyboards/crkbd/ssd1306.h
index 76dd6a2a72..ea8c923280 100644
--- a/keyboards/crkbd/ssd1306.h
+++ b/keyboards/crkbd/ssd1306.h
@@ -3,6 +3,7 @@
#include <stdbool.h>
#include <stdio.h>
#include "pincontrol.h"
+#include "action.h"
enum ssd1306_cmds {
DisplayOff = 0xAE,
@@ -86,3 +87,5 @@ 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);
+
+bool process_record_gfx(uint16_t keycode, keyrecord_t *record); \ No newline at end of file