Skip to content

Commit

Permalink
Pull nRESET up
Browse files Browse the repository at this point in the history
Signed-off-by: Akhil Velagapudi <[email protected]>
  • Loading branch information
akhilles committed Jan 2, 2025
1 parent ec6e3c7 commit 21f2bb3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,8 @@ int main(void) {

DAP_Setup();

probe_gpio_init();

probe_info("Welcome to debugprobe!\n");

if (THREADED) {
Expand Down
1 change: 0 additions & 1 deletion src/probe.c
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,6 @@ void probe_deinit(void)
pio_sm_set_enabled(pio0, PROBE_SM, 0);
pio_remove_program(pio0, &probe_program, probe.offset);

probe_assert_reset(1); // de-assert nRESET
probe_gpio_deinit();
probe.initted = 0;
}
Expand Down

0 comments on commit 21f2bb3

Please sign in to comment.