Skip to content

Commit

Permalink
fix(rpc): Adjust for metadata API changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
petejohanson committed Mar 29, 2024
1 parent 476da52 commit 27098cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/studio/behavior_subsystem.c
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ zmk_Response get_behavior_details(const zmk_Request *req) {

zmk_behaviors_GetBehaviorDetailsResponse resp =
(zmk_behaviors_GetBehaviorDetailsResponse){.id = behavior_id};
strcpy(resp.friendly_name, zbm->friendly_name);
strcpy(resp.friendly_name, zbm->metadata.friendly_name);

struct behavior_parameter_metadata desc;
behavior_get_parameter_domains(zbm->device, &desc);
Expand Down

0 comments on commit 27098cd

Please sign in to comment.