-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pw_sensor: Allow missing 'org' in compatible descriptor
When providing a sensor descriptor, most will leverage the org,part schema. This does not always seem to be the case. There are times where the org is missing when used in downstream Zephyr. We should allow for this case and only include the org when provided and not empty. BUG=b/386143823 Change-Id: Ie3f044b5adbbcbc76ed13716c705561e87adac32 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/256773 Lint: Lint 🤖 <[email protected]> Commit-Queue: Yuval Peress <[email protected]> Reviewed-by: Carlos Chinchilla <[email protected]> Docs-Not-Needed: Yuval Peress <[email protected]>
- Loading branch information
Showing
4 changed files
with
83 additions
and
8 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,7 +26,6 @@ | |
}, | ||
"additionalProperties": false, | ||
"required": [ | ||
"org", | ||
"part" | ||
] | ||
}, | ||
|
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
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
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