Skip to content

Commit

Permalink
Update ed047tc1.c
Browse files Browse the repository at this point in the history
  • Loading branch information
SrLPZ authored Mar 18, 2023
1 parent df9bbbb commit 0e18132
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion src/ed047tc1.c
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,20 @@ void epd_poweroff()

void epd_poweroff_all()
{
memset(&config_reg, 0, sizeof(config_reg));
//memset(&config_reg, 0, sizeof(config_reg));
//push_cfg(&config_reg);

config_reg.ep_scan_direction = false;
config_reg.pos_power_enable = false;
push_cfg(&config_reg);
busy_delay(10 * 240);
config_reg.neg_power_enable = false;
push_cfg(&config_reg);
busy_delay(100 * 240);
config_reg.power_disable = true;
push_cfg(&config_reg);

config_reg.ep_stv = false;
push_cfg(&config_reg);
}

Expand Down

0 comments on commit 0e18132

Please sign in to comment.