Skip to content

Commit

Permalink
Add backwards compatibility for oled_write_raw_P on ARM
Browse files Browse the repository at this point in the history
  • Loading branch information
zvecr authored and HokieGeek committed Feb 21, 2020
1 parent f0a8773 commit 7d1eeec
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/oled/oled_driver.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7d1eeec

Please sign in to comment.