Hexiwear OLED
Fork of Hexi_OLED_SSD1351 by
Diff: Hexi_OLED_SSD1351.cpp
- Revision:
- 8:ae5fad429790
- Parent:
- 7:9961c525e249
- Child:
- 9:18d4eb6328eb
--- 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;