aboutsummaryrefslogtreecommitdiff
path: root/drivers/oled/oled_driver.c
diff options
context:
space:
mode:
authorCasper Weiss Bang <master@thecdk.net>2020-03-29 00:35:11 +0100
committerGitHub <noreply@github.com>2020-03-28 23:35:11 +0000
commit13fff52f6b629e4345e7ea2296b3d100aa9df245 (patch)
tree666ff3742d4fb0e397d00edf9c374ad57c63f284 /drivers/oled/oled_driver.c
parent7bf9d9dc0ace46fa5ef2b159636f808fcd0d7938 (diff)
downloadqmk_firmware-13fff52f6b629e4345e7ea2296b3d100aa9df245.tar.gz
qmk_firmware-13fff52f6b629e4345e7ea2296b3d100aa9df245.zip
fixed problem with implicit declaration in quantum/rgblight.c (#8406)
* Update tmk_core/common/progmem.h Co-Authored-By: Ryan <fauxpark@gmail.com> * Update quantum/rgblight.c Co-Authored-By: Ryan <fauxpark@gmail.com> * fixed problem with implicit declaration in quantum/rgblight.c (#8381) Co-authored-by: Ryan <fauxpark@gmail.com>
Diffstat (limited to 'drivers/oled/oled_driver.c')
-rw-r--r--drivers/oled/oled_driver.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/oled/oled_driver.c b/drivers/oled/oled_driver.c
index cb50c38c4..ce5c23cc4 100644
--- a/drivers/oled/oled_driver.c
+++ b/drivers/oled/oled_driver.c
@@ -23,9 +23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
23#include <string.h> 23#include <string.h>
24 24
25#include "progmem.h" 25#include "progmem.h"
26#ifndef __AVR__
27# define memcpy_P(des, src, len) memcpy(des, src, len)
28#endif
29 26
30// Used commands from spec sheet: https://cdn-shop.adafruit.com/datasheets/SSD1306.pdf 27// Used commands from spec sheet: https://cdn-shop.adafruit.com/datasheets/SSD1306.pdf
31// for SH1106: https://www.velleman.eu/downloads/29/infosheets/sh1106_datasheet.pdf 28// for SH1106: https://www.velleman.eu/downloads/29/infosheets/sh1106_datasheet.pdf