Skip to content

Commit

Permalink
Tools: Tune: Common: Remove trailing comma from printed blob words
Browse files Browse the repository at this point in the history
The comma from line end and blob end is removed. With this change
the blobs exported are identical to retrieved blobs with sof-ctl
tool and e.g. can be compared directly.

Signed-off-by: Seppo Ingalsuo <[email protected]>
  • Loading branch information
singalsu committed Jan 9, 2025
1 parent fbdc526 commit 9189bef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/tune/common/sof_alsactl_write.m
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ function sof_alsactl_write(fn, blob8)
for i=1:n_new-1
fprintf(fh, '%ld,', blob32(i));
end
fprintf(fh, '%ld,\n', blob32(end));
fprintf(fh, '%ld\n', blob32(end));
fclose(fh);
end

0 comments on commit 9189bef

Please sign in to comment.