Skip to content

Commit

Permalink
Don't grow Ember buffer, the application crashes at runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
puddly committed May 29, 2024
1 parent fb8e7bd commit 273a53d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/ncp-uart-hw/app.c
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,6 @@ void nc_zigbee_override_append_source_route(EmberNodeId destination,
*consumed = true;
route->active = false; // Disable the route after a single use

emberExtendLinkedBuffer(*header, 1 + 1 + 2 * route->num_relays);

emberAppendToLinkedBuffers(*header, &route->num_relays, 1);
emberAppendToLinkedBuffers(*header, &relay_index, 1);

Expand Down

0 comments on commit 273a53d

Please sign in to comment.