Skip to content

Commit

Permalink
feat: Bit of extra studio keymap logging.
Browse files Browse the repository at this point in the history
  • Loading branch information
petejohanson committed Sep 18, 2024
1 parent 62900c6 commit 6ae07d2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/src/studio/keymap_subsystem.c
Original file line number Diff line number Diff line change
Expand Up @@ -175,11 +175,13 @@ zmk_studio_Response save_changes(const zmk_studio_Request *req) {
int ret = zmk_physical_layouts_save_selected();

if (ret < 0) {
LOG_WRN("Failed to save selected physical layout (0x%02x)", ret);
return ZMK_RPC_SIMPLE_ERR(GENERIC);
}

ret = zmk_keymap_save_changes();
if (ret < 0) {
LOG_WRN("Failed to save keymap changes (0x%02x)", ret);
return ZMK_RPC_SIMPLE_ERR(GENERIC);
}

Expand Down

0 comments on commit 6ae07d2

Please sign in to comment.