mirror of https://github.com/zmkfirmware/zmk.git
feat: Bit of extra studio keymap logging.
This commit is contained in:
parent
62900c62be
commit
6ae07d222a
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue