Version v3.16: added wfi status for wiringPiISR and waitForInterrupt
This commit is contained in:
@@ -177,7 +177,7 @@ void printgpio(const char* text) {
|
||||
}
|
||||
}
|
||||
|
||||
static void wfi (unsigned int pin, long long int timestamp) {
|
||||
static void wfi (UNU struct WPIWfiStatus wfiStatus) {
|
||||
globalCounter++;
|
||||
if(globalCounter>=iterations) {
|
||||
printgpio("finished\n");
|
||||
|
||||
Reference in New Issue
Block a user