Skip to content

Commit

Permalink
Fix String reference bug
Browse files Browse the repository at this point in the history
  • Loading branch information
greiman committed Sep 3, 2021
1 parent dfe68ff commit 51ce0ef
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion library.properties
@@ -1,5 +1,5 @@
name=SSD1306Ascii
version=1.3.1
version=1.3.2
author=Bill Greiman <fat16lib@sbcglobal.net>
maintainer=Bill Greiman <fat16lib@sbcglobal.net>
sentence=Text display on small momochrome OLED modules.
Expand Down
4 changes: 2 additions & 2 deletions src/SSD1306Ascii.h
Expand Up @@ -28,7 +28,7 @@
#include "fonts/allFonts.h"
//------------------------------------------------------------------------------
/** SSD1306Ascii version */
#define SDD1306_ASCII_VERSION 1.3.0
#define SDD1306_ASCII_VERSION 10302
//------------------------------------------------------------------------------
// Configuration options.
/** Set Scrolling mode for newline.
Expand Down Expand Up @@ -429,7 +429,7 @@ class SSD1306Ascii : public Print {
* @return false if queue is full else true.
*/
bool tickerText(TickerState* state, const String &str) {
return tickerText(state, str ? str.c_str() : nullptr);
return tickerText(state, str.c_str());
}
/**
* @brief Add text pointer to display queue.
Expand Down

0 comments on commit 51ce0ef

Please sign in to comment.