From ca2aeb19ec9be74792a3f0b3a2b4ce115b6756c9 Mon Sep 17 00:00:00 2001 From: rogosher Date: Wed, 30 Mar 2016 15:58:12 -0700 Subject: [PATCH] adding bool type --- src/core/core.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/core/core.h b/src/core/core.h index dcbf6b1..4f228d6 100644 --- a/src/core/core.h +++ b/src/core/core.h @@ -236,20 +236,20 @@ public: /** * when inverted, a pixel set to 0 will be on */ - void static invert(boolean inverse); + void static invert(bool inverse); /// turn all display pixels on, or display the buffer contents /** * when set to all pixels on, the display buffer will be * ignored but not altered */ - void static allPixelsOn(boolean on); + void static allPixelsOn(bool on); /// flip the display vertically or set to normal - void static flipVertical(boolean flipped); + void static flipVertical(bool flipped); /// flip the display horizontally or set to normal - void static flipHorizontal(boolean flipped); + void static flipHorizontal(bool flipped); /// send a single byte command to the OLED void static sendLCDCommand(uint8_t command);