Przeglądaj źródła

add:u8g2支持240pixel以上

Dozingfiretruck 2 lat temu
rodzic
commit
80be82f775
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      components/u8g2/u8g2.h

+ 2 - 2
components/u8g2/u8g2.h

@@ -62,13 +62,13 @@
 
 /*
   The following macro enables 16 Bit mode. 
-  Without defining this macro all calulations are done with 8 Bit (1 Byte) variables.
+  Without defining this macro all calculations are done with 8 Bit (1 Byte) variables.
   Especially on AVR architecture, this will save some space. 
   If this macro is defined, then U8g2 will switch to 16 Bit mode.
   Use 16 Bit mode for any display with more than 240 pixel in one 
   direction.
 */
-//#define U8G2_16BIT
+#define U8G2_16BIT
 
 
 /* always enable U8G2_16BIT on 32bit environments, see issue https://github.com/olikraus/u8g2/issues/1222 */