Skip to content

Commit

Permalink
Fixes #2432 removing extra pointer qualifier (#2435)
Browse files Browse the repository at this point in the history
  • Loading branch information
LeStarch authored Dec 18, 2023
1 parent fd66233 commit 64b202c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Drv/LinuxGpioDriver/LinuxGpioDriverComponentImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ namespace Drv {
// Read is only taking 22 usecs each time, so it is not blocking for long
if (fdset[0].revents & POLLPRI) {

char *buf[MAX_BUF];
char buf[MAX_BUF];
(void) lseek(fdset[0].fd, 0, SEEK_SET); // Must seek back to the starting
if(read(fdset[0].fd, buf, MAX_BUF) > 0) {
DEBUG_PRINT("\npoll() GPIO interrupt occurred w/ value: %c\n", buf[0]);
Expand Down

0 comments on commit 64b202c

Please sign in to comment.