-
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix!: Clean binary cruft from device names
- This fix might cause some device names to change if relying on device-provided names (should only affect whitespace or non-aphanum chars). - Some devs working on firmware seem to confuse charbufs and strings. Clean up name fields when using them to remove leading and trailing whitespace, nulls, tabs etc, and then remove anything from the first null byte (examples: UC96_BLE tester for null-inclusive names, and iTAG for excess whitespace padding).
- Loading branch information
Showing
1 changed file
with
24 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters