-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Ameba] Fix Read Product Appearance #28860
[Ameba] Fix Read Product Appearance #28860
Conversation
PR #28860: Size comparison from 5532798 to a41ec4b Decreases (1 build for efr32)
Full report (62 builds for bl602, bl702, bl702l, cc32xx, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, qpg, telink)
|
* Fix Read Product Appearance * Updated product finish to other and product color to black * ran restyle-diff.sh
CHIP_ERROR FactoryDataProvider::GetProductPrimaryColor(ColorEnum * primaryColor) | ||
{ | ||
CHIP_ERROR err = CHIP_NO_ERROR; | ||
*primaryColor = ColorEnum::kBlack; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@pankore Is there a reason this is not just returning error? Color is optional to return....
CHIP_ERROR FactoryDataProvider::GetProductFinish(ProductFinishEnum * finish) | ||
{ | ||
CHIP_ERROR err = CHIP_NO_ERROR; | ||
*finish = ProductFinishEnum::kOther; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Product appearance is optional to implement, and just making up an invalid value is not a useful way of implementing it. Why is this being done?
* Fix Read Product Appearance * Updated product finish to other and product color to black * ran restyle-diff.sh
Add read product appearance feature for Ameba