aboutsummaryrefslogtreecommitdiffhomepage
path: root/app
diff options
context:
space:
mode:
authorPeter Johanson <[email protected]>2024-09-18 13:08:35 -0600
committerPeter Johanson <[email protected]>2024-09-18 13:08:35 -0600
commit6ae07d222a23f1b3887432d35a647bf15a4baf0d (patch)
tree26d447f8ed4c8ccbdf3c0ebb53a274a57d64bff0 /app
parent62900c62bed78c6583a91d9cd0185800b6be3bd9 (diff)
downloadzmk-6ae07d222a23f1b3887432d35a647bf15a4baf0d.tar.gz
zmk-6ae07d222a23f1b3887432d35a647bf15a4baf0d.zip
feat: Bit of extra studio keymap logging.
Diffstat (limited to 'app')
-rw-r--r--app/src/studio/keymap_subsystem.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/src/studio/keymap_subsystem.c b/app/src/studio/keymap_subsystem.c
index aa4b979920..95d89d3f37 100644
--- a/app/src/studio/keymap_subsystem.c
+++ b/app/src/studio/keymap_subsystem.c
@@ -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);
}