diff options
Diffstat (limited to 'drivers/oled/oled_driver.h')
| -rw-r--r-- | drivers/oled/oled_driver.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/oled/oled_driver.h b/drivers/oled/oled_driver.h index ac8a1c765..bba6a7a12 100644 --- a/drivers/oled/oled_driver.h +++ b/drivers/oled/oled_driver.h | |||
| @@ -200,6 +200,8 @@ void oled_write(const char *data, bool invert); | |||
| 200 | // Advances the cursor to the next page, wiring ' ' to the remainder of the current page | 200 | // Advances the cursor to the next page, wiring ' ' to the remainder of the current page |
| 201 | void oled_write_ln(const char *data, bool invert); | 201 | void oled_write_ln(const char *data, bool invert); |
| 202 | 202 | ||
| 203 | void oled_write_raw(const char *data, uint16_t size); | ||
| 204 | |||
| 203 | #if defined(__AVR__) | 205 | #if defined(__AVR__) |
| 204 | // Writes a PROGMEM string to the buffer at current cursor position | 206 | // Writes a PROGMEM string to the buffer at current cursor position |
| 205 | // Advances the cursor while writing, inverts the pixels if true | 207 | // Advances the cursor while writing, inverts the pixels if true |
| @@ -211,6 +213,8 @@ void oled_write_P(const char *data, bool invert); | |||
| 211 | // Advances the cursor to the next page, wiring ' ' to the remainder of the current page | 213 | // Advances the cursor to the next page, wiring ' ' to the remainder of the current page |
| 212 | // Remapped to call 'void oled_write_ln(const char *data, bool invert);' on ARM | 214 | // Remapped to call 'void oled_write_ln(const char *data, bool invert);' on ARM |
| 213 | void oled_write_ln_P(const char *data, bool invert); | 215 | void oled_write_ln_P(const char *data, bool invert); |
| 216 | |||
| 217 | void oled_write_raw_P(const char *data, uint16_t size); | ||
| 214 | #else | 218 | #else |
| 215 | // Writes a string to the buffer at current cursor position | 219 | // Writes a string to the buffer at current cursor position |
| 216 | // Advances the cursor while writing, inverts the pixels if true | 220 | // Advances the cursor while writing, inverts the pixels if true |
| @@ -254,4 +258,4 @@ bool oled_scroll_off(void); | |||
| 254 | uint8_t oled_max_chars(void); | 258 | uint8_t oled_max_chars(void); |
| 255 | 259 | ||
| 256 | // Returns the maximum number of lines that will fit on the oled | 260 | // Returns the maximum number of lines that will fit on the oled |
| 257 | uint8_t oled_max_lines(void); | 261 | uint8_t oled_max_lines(void); \ No newline at end of file |
