Version v3.16: added wfi status for wiringPiISR and waitForInterrupt

This commit is contained in:
phylax2020
2025-02-20 11:29:30 +01:00
parent 44538850b4
commit 2f35ff5ec8
7 changed files with 157 additions and 61 deletions

View File

@@ -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");