summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorzvecr <git@zvecr.com>2019-12-24 20:27:58 +0000
committerFlorian Didron <fdidron@users.noreply.github.com>2020-01-09 08:57:11 +0900
commite87c2fe8cee4ea6a212309ce64a10328d629d941 (patch)
treefaed8e15b2957822d6af564fd0615e3f790c2e48 /drivers
parent8a4525a6789952d2dfc1816646cde2b578ef042c (diff)
Add backwards compatibility for oled_write_raw_P on ARM
Diffstat (limited to 'drivers')
-rw-r--r--drivers/oled/oled_driver.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/oled/oled_driver.h b/drivers/oled/oled_driver.h
index d0265d75f9..8959609a0f 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