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

Move GPIO writes to a separate thread. #565

Merged
merged 5 commits into from
Dec 8, 2014

Conversation

nomis52
Copy link
Member

@nomis52 nomis52 commented Dec 8, 2014

No description provided.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.03%) when pulling 75190da on nomis52:opc into 7a72ab7 on OpenLightingProject:master.

@peternewman peternewman added this to the 0.9.4 milestone Dec 8, 2014
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.05%) when pulling 75190da on nomis52:opc into 7a72ab7 on OpenLightingProject:master.

@@ -79,11 +128,13 @@ bool GPIODriver::SetupGPIO() {
std::ostringstream str;
str << GPIO_BASE_DIR << static_cast<int>(*iter) << "/value";
int pin_fd;
if (ola::io::Open(str.str(), O_RDWR, &pin_fd)) {
if (!ola::io::Open(str.str(), O_RDWR, &pin_fd)) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't spot that one though.

@peternewman
Copy link
Member

LGTM

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.05%) when pulling b2586ec on nomis52:opc into 7a72ab7 on OpenLightingProject:master.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.05%) when pulling b2586ec on nomis52:opc into 7a72ab7 on OpenLightingProject:master.

nomis52 added a commit that referenced this pull request Dec 8, 2014
Move GPIO writes to a separate thread.
@nomis52 nomis52 merged commit 6fbfa46 into OpenLightingProject:master Dec 8, 2014
@nomis52 nomis52 deleted the opc branch March 31, 2015 04:30
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

3 participants