Skip to content

Commit f74d792

Browse files
Update plugins/gpio/GPIODriver.cpp to resolve lint issues
Co-authored-by: Peter Newman <peternewman@users.noreply.github.com>
1 parent b59c4f2 commit f74d792

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

plugins/gpio/GPIODriver.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -157,15 +157,15 @@ bool GPIODriver::SetupGPIO() {
157157
if (inverted) {
158158
direction = &inverted_direction;
159159
} else {
160-
direction = &normal_direction;
160+
direction = &normal_direction;
161161
}
162162

163163
OLA_DEBUG << "Configuring GPIO pin " << static_cast<int>(*iter)
164-
<< " with " << ( inverted ? "inverted" : "normal" ) << " logic";
164+
<< " with " << (inverted ? "inverted" : "normal") << " logic";
165165
if (write(fd, direction->c_str(), direction->size()) < 0) {
166166
OLA_WARN << "Failed to enable output on " << str.str()
167-
<< " with " << ( inverted ? "inverted" : "normal" ) << " logic"
168-
<< " : " << strerror(errno);
167+
<< " with " << (inverted ? "inverted" : "normal") << " logic"
168+
<< " : " << strerror(errno);
169169
failed = true;
170170
}
171171
close(fd);

0 commit comments

Comments
 (0)