- Mar 11, 2017
-
-
Dan Church authored
Fixes the following warnings when compiling using GCC 5.4: CXX OLEDDisplayUi.o ./OLEDDisplayUi.cpp: In member function 'void OLEDDisplayUi::drawFrame()': ./OLEDDisplayUi.cpp:284:48: error: 'y1' may be used uninitialized in this function [-Werror=maybe-uninitialized] x *= dir; y *= dir; x1 *= dir; y1 *= dir; ^ ./OLEDDisplayUi.cpp:284:37: error: 'x1' may be used uninitialized in this function [-Werror=maybe-uninitialized] x *= dir; y *= dir; x1 *= dir; y1 *= dir; ^ ./OLEDDisplayUi.cpp:284:26: error: 'y' may be used uninitialized in this function [-Werror=maybe-uninitialized] x *= dir; y *= dir; x1 *= dir; y1 *= dir; ^ ./OLEDDisplayUi.cpp:284:16: error: 'x' may be used uninitialized in this function [-Werror=maybe-uninitialized] x *= dir; y *= dir; x1 *= dir; y1 *= dir; ^ ./OLEDDisplayUi.cpp: In member function 'void OLEDDisplayUi::drawIndicator()': ./OLEDDisplayUi.cpp:393:35: error: 'y' may be used uninitialized in this function [-Werror=maybe-uninitialized] this->display->drawFastImage(x, y, 8, 8, image); ^ ./OLEDDisplayUi.cpp:393:35: error: 'x' may be used uninitialized in this function [-Werror=maybe-uninitialized] ./OLEDDisplayUi.cpp:387:7: error: 'posOfHighlightFrame' may be used uninitialized in this function [-Werror=maybe-uninitialized] if (posOfHighlightFrame == i) { ^ cc1plus: some warnings being treated as errors
-
Dan Church authored
Fix the following warnings, seen when compiling with GCC 5.4: CXX OLEDDisplay.o ./OLEDDisplay.cpp: In member function 'void OLEDDisplay::drawStringInternal(int16_t, int16_t, char*, uint16_t, uint16_t)': ./OLEDDisplay.cpp:381:10: error: enumeration value 'TEXT_ALIGN_LEFT' not handled in switch [-Werror=switch] switch (textAlignment) { ^ ./OLEDDisplay.cpp: In member function 'void OLEDDisplay::drawInternal(int16_t, int16_t, int16_t, int16_t, const char*, uint16_t, uint16_t)': ./OLEDDisplay.cpp:722:13: warning: unused variable 'yScreenPos' [-Wunused-variable] int16_t yScreenPos = yMove + yOffset; ^ ./OLEDDisplay.cpp: In member function 'void OLEDDisplay::drawXbm(int16_t, int16_t, int16_t, int16_t, const char*)': ./OLEDDisplay.cpp:361:19: error: 'data' may be used uninitialized in this function [-Werror=maybe-uninitialized] data >>= 1; // Move a bit ^ cc1plus: some warnings being treated as errors
-
- Feb 17, 2017
-
-
Daniel Eichhorn authored
-
Daniel Eichhorn authored
-
Daniel Eichhorn authored
Fix platforms in library.json
-
Arcao authored
-
- Feb 15, 2017
-
-
Daniel Eichhorn authored
-
Daniel Eichhorn authored
-
Daniel Eichhorn authored
-
Daniel Eichhorn authored
-
- Jan 08, 2017
-
-
Daniel Eichhorn authored
-
Daniel Eichhorn authored
fix typo in integer type (causes compile error)
-
- Jan 06, 2017
-
-
0xPIT authored
-
Daniel Eichhorn authored
-
Daniel Eichhorn authored
Closer to middle vertical align
-
Daniel Eichhorn authored
Make OLEDDisplay.display() an abstract function
-
Daniel Eichhorn authored
Implement setLoadingDrawFunction. Fixes #102
-
- Jan 05, 2017
-
-
Fabrice Weinberg authored
-
Fabrice Weinberg authored
-
- Jan 02, 2017
-
-
Marius Bergmann authored
Without the `= 0` declaration, compiling with RTTI enabled fails. See http://stackoverflow.com/a/307427/1880101 for an explanation.
-
- Sep 11, 2016
-
-
tzapu authored
Due to the 4px spacing, the indicators are a bit offset when adding them to LEFT or RIGHT sides of screen
-
- Aug 27, 2016
-
-
Fabrice Weinberg authored
-
- Aug 12, 2016
-
-
Daniel Eichhorn authored
Improve display performance of SH* drivers
-
Daniel Eichhorn authored
Add SH1106Spi support
-
Daniel Eichhorn authored
Fix internal black drawing
-
- Aug 11, 2016
-
-
Fabrice Weinberg authored
-
Fabrice Weinberg authored
-
Fabrice Weinberg authored
-
- Aug 02, 2016
-
-
Fabrice Weinberg authored
-
- Jul 24, 2016
-
-
Fabrice Weinberg authored
-
FWeinb authored
Add sample code
-
FWeinb authored
Make it possible to enable/disable all indicators
-
FWeinb authored
Fix a bug where multiline strings where not correctly centered
-
Fabrice Weinberg authored
-
Fabrice Weinberg authored
-
Fabrice Weinberg authored
-
Fabrice Weinberg authored
-
Daniel Eichhorn authored
Improving rect drawing
-
- Jul 23, 2016
-
-
Fabrice Weinberg authored
-
- Jul 15, 2016
-
-
Fabrice Weinberg authored
-