Skip to content

Commit

Permalink
[TractylM] Soft boot on non-master
Browse files Browse the repository at this point in the history
  • Loading branch information
drashna committed Mar 2, 2025
1 parent 711725a commit 150ba05
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,11 @@ void execute_user_button_action(bool state) {
} else {
if (tap_counter >= 2) {
dprintf("Bootloader jumps\n");
reset_keyboard();
if (is_keyboard_master()) {
reset_keyboard();
} else {
soft_reset_keyboard();
}
}
}
// update last state
Expand Down

0 comments on commit 150ba05

Please sign in to comment.