Re-enable some things we should assume are default

This commit is contained in:
Corey Vixie 2020-03-29 13:04:11 -07:00
parent 5807c7a81c
commit 8640959549

View File

@ -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,
));