update demo

This commit is contained in:
xianjimli 2018-06-14 15:53:44 +08:00
parent a468f82bcd
commit 78164d1310

View File

@ -38,7 +38,7 @@ int main(void) {
tk_init(320, 480); tk_init(320, 480);
#endif #endif
#define WITH_LCD_PORTRAIT 1 //#define WITH_LCD_PORTRAIT 1
#ifdef WITH_LCD_PORTRAIT #ifdef WITH_LCD_PORTRAIT
if (lcd_w > lcd_h) { if (lcd_w > lcd_h) {
tk_set_lcd_orientation(LCD_ORIENTATION_90); tk_set_lcd_orientation(LCD_ORIENTATION_90);