From 86409595490c028e21d93c6048e69c61032aa502 Mon Sep 17 00:00:00 2001 From: Corey Vixie Date: Sun, 29 Mar 2020 13:04:11 -0700 Subject: [PATCH] Re-enable some things we should assume are default --- src/main.rs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/main.rs b/src/main.rs index 97ce9aa..af7b7e0 100644 --- a/src/main.rs +++ b/src/main.rs @@ -168,13 +168,13 @@ fn main() { display.write_command(CommandsGeneral::set_command_2(Command2Selection::Disabled)); CMD2 = Command2Selection::Disabled; - // display.write_command(CommandsGeneral::set_color_mode( - // instructions::BitsPerPixel::Rgb666, - // )); - // display.write_command(CommandsGeneral::display_data_control( - // instructions::ScanDirection::Normal, - // instructions::ColorOrder::Rgb, - // )); + display.write_command(CommandsGeneral::set_color_mode( + instructions::BitsPerPixel::Rgb666, + )); + display.write_command(CommandsGeneral::display_data_control( + instructions::ScanDirection::Normal, + instructions::ColorOrder::Rgb, + )); display.write_command(CommandsGeneral::tearing_effect_on( instructions::TearingEffect::VHBlank, ));