-
Notifications
You must be signed in to change notification settings - Fork 52
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
minerva-ag: Modify sensor name with prefix CB #2195
minerva-ag: Modify sensor name with prefix CB #2195
Conversation
@facebook-github-bot has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. (Because this pull request was imported automatically, there will not be any future comments.) |
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.
Please rebase as well
@@ -36,7 +36,7 @@ static int cmd_perm_config_get(const struct shell *shell, size_t argc, char **ar | |||
LOG_ERR("Can't find vr_rail_name by rail index: %x", i); | |||
continue; | |||
} | |||
shell_print(shell, "[%2d]%-40s val=%d", i, rail_name, | |||
shell_print(shell, "[%2d]%-50s val=%d", i, rail_name, |
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.
It seems like we have a non-obvious connection between these format string widths and the MAX_AUX_SENSOR_NAME_LEN
. Can we make that more explicit in all the places you updated to 50?
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.
I have updated the comments to clarify the connection between the format string widths and MAX_AUX_SENSOR_NAME_LEN.
d372414
to
3ed478f
Compare
@LisaChang-Quanta has updated the pull request. You must reimport the pull request before landing. |
3ed478f
to
0ac7067
Compare
@LisaChang-Quanta has updated the pull request. You must reimport the pull request before landing. |
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.
@LisaChang-Quanta please rebase to main HEAD.
Summary: - Modify sensor name with prefix CB - Change MAX_AUX_SENSOR_NAME_LEN 42 -> 50 - Adjust format string width based on MAX_AUX_SENSOR_NAME_LEN Test Plan: - Build code: PASS
0ac7067
to
4e0d041
Compare
@LisaChang-Quanta has updated the pull request. You must reimport the pull request before landing. |
This pull request has been merged in deb9782. |
Summary:
Test Plan: