Hexiwear OLED Display Driver
Dependents: Hexi_OLED_TextImage_Example Hexi_OLED_Text_Example Hexi_OLED_Image_Example security-console-app ... more
Diff: Hexi_OLED_SSD1351.cpp
- Revision:
- 8:ae5fad429790
- Parent:
- 7:9961c525e249
--- a/Hexi_OLED_SSD1351.cpp Fri Aug 26 22:54:49 2016 +0000 +++ b/Hexi_OLED_SSD1351.cpp Sat Sep 24 19:45:48 2016 +0000 @@ -635,7 +635,8 @@ text_height = selectedFont_height; - + /* Disable this for now.Generated Fontwidth supposedly a lot wider than it really is*/ + #if 0 if (( oled_dynamic_area.width < text_width )||( oled_dynamic_area.height < text_height )) { oled_dynamic_area_t textArea; @@ -643,6 +644,7 @@ textArea.height = text_height; SetDynamicArea(&textArea); } + #endif currentChar_y = ( oled_dynamic_area.height - text_height ) >> 1;