mirror of
https://agent.ghink.cloud/wb2osz/direwolf
synced 2025-04-11 09:08:34 +00:00
Add short delay after enabling GPIO pin. Issue #176
This commit is contained in:
parent
edaf661bb1
commit
c59053536e
3
ptt.c
3
ptt.c
@ -458,6 +458,9 @@ void export_gpio(int ch, int ot, int invert, int direction)
|
||||
exit (1);
|
||||
}
|
||||
}
|
||||
/* Wait for udev to adjust permissions after enabling GPIO. */
|
||||
/* https://github.com/wb2osz/direwolf/issues/176 */
|
||||
SLEEP_MS(250);
|
||||
close (fd);
|
||||
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user