Skip to content

Commit

Permalink
Update utility/SPIDEV/gpio.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
TMRh20 and github-actions[bot] authored Feb 19, 2024
1 parent 183e159 commit fd5884e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion utility/SPIDEV/gpio.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ void GPIO::write(int port, int value)

data.bits = value;
data.mask = 1;

ret = ioctl(rq.fd, GPIO_V2_LINE_SET_VALUES_IOCTL, &data);
if (ret == -1) {
throw GPIOException("Can't set line value from IOCTL");
Expand Down

0 comments on commit fd5884e

Please sign in to comment.