diff options
author | zvecr <git@zvecr.com> | 2019-12-24 20:27:58 +0000 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2019-12-24 20:13:27 -0800 |
commit | 9aedb620c51e61b0ec654ffaeb0eac2d8839b0b4 (patch) | |
tree | 057f1213bf3081202dcc37a3074da60d89af8bf7 /drivers | |
parent | 7494490d6d8966596434c0f6dcdd9d0a6600dfba (diff) | |
download | qmk_firmware-9aedb620c51e61b0ec654ffaeb0eac2d8839b0b4.tar.gz |
Add backwards compatibility for oled_write_raw_P on ARM
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/oled/oled_driver.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/oled/oled_driver.h b/drivers/oled/oled_driver.h index bba6a7a12..f490f367a 100644 --- a/drivers/oled/oled_driver.h +++ b/drivers/oled/oled_driver.h @@ -224,6 +224,8 @@ void oled_write_raw_P(const char *data, uint16_t size); // Advances the cursor while writing, inverts the pixels if true // Advances the cursor to the next page, wiring ' ' to the remainder of the current page # define oled_write_ln_P(data, invert) oled_write(data, invert) + +# define oled_write_raw_P(data, size) oled_write_raw(data, size) #endif // defined(__AVR__) // Can be used to manually turn on the screen if it is off |