Skip to content

Commit

Permalink
[MGR] Init reset output high
Browse files Browse the repository at this point in the history
  • Loading branch information
darthcloud committed Feb 15, 2023
1 parent 1bc4867 commit ce3a117
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main/system/manager.c
Original file line number Diff line number Diff line change
Expand Up @@ -648,6 +648,7 @@ void sys_mgr_init(void) {
io_conf.pin_bit_mask = 1ULL << power_off_pin;
gpio_config(&io_conf);

gpio_set_level(RESET_PIN, 1);
io_conf.mode = GPIO_MODE_OUTPUT_OD;
io_conf.pin_bit_mask = 1ULL << RESET_PIN;
gpio_config(&io_conf);
Expand Down

0 comments on commit ce3a117

Please sign in to comment.