Skip to content

Commit

Permalink
fix v6 deepsleep
Browse files Browse the repository at this point in the history
  • Loading branch information
vroland committed Sep 14, 2021
1 parent d17c802 commit 8b4302a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/epd_driver/config_reg_v6.h
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ static void cfg_deinit(epd_config_register_t* reg) {
vTaskDelay(1);
printf("%X\n", pca9555_read_input(reg->port, 1));
}
// Not sure why we need this delay, but the TPS65185 seems to generate an interrupt after some time that needs to be cleared.
vTaskDelay(500);
pca9555_read_input(reg->port, 0);
pca9555_read_input(reg->port, 1);
Expand Down
2 changes: 1 addition & 1 deletion src/epd_driver/render.c
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ void epd_deinit() {
//gpio_reset_pin(CFG_INTR);
//rtc_gpio_isolate(CFG_INTR);
#endif
//epd_base_deinit();
epd_base_deinit();
}


Expand Down

0 comments on commit 8b4302a

Please sign in to comment.