Skip to content
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

vcgencmd: Add some very basic usage info. Also detect when the videocore returns an error #527

Closed
wants to merge 8 commits into from

Conversation

ghost
Copy link

@ghost ghost commented Jan 15, 2019

Prompted by raspberrypi/documentation#1065, I took the liberty to add some very basic usage to vcgencmd when invoked with no arguments.

@ghost ghost changed the title Display basic usage if no arguments are given vcgencmd: Add some very basic usage info. Also detect when the videocore returns an error Jan 15, 2019
@ghost
Copy link
Author

ghost commented Jan 15, 2019

The last 2 changes adds code to detect if the buffer returned by the videocore starts with 'error=' and returns -2 if it does. Also added this return value to the usage info.

@ghost ghost closed this Jan 15, 2019
@ghost
Copy link
Author

ghost commented Jan 15, 2019

Closing as I've included buildme by mistake. I will open another one.

This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant