This commit is contained in:
mstroh76
2024-05-03 15:15:20 +02:00
parent 95ba7fa380
commit 783d95962f
3 changed files with 14 additions and 15 deletions

View File

@@ -610,7 +610,6 @@ void printgpioflush(const char* text) {
void printgpio(const char* text) {
if (gpioDebug) {
printf("%s", text);
fflush(stdout);
}
}
@@ -660,7 +659,7 @@ void doWfi (int argc, char *argv [])
exit (1) ;
}
printgpio("wait for interrupt function call \n");
printgpio("wait for interrupt function call\n");
for (int Sec=0; Sec<timeoutSec; ++Sec) {
printgpioflush(".");
delay (999);

View File

@@ -79,7 +79,7 @@ int pseudoPinsSetup(const int pinBase)
node = wiringPiNewNode(pinBase, PSEUDO_PINS);
if (node == NULL) {
perror("Error creating new wiringPi node");
fprintf(stderr, "Error creating new wiringPi node");
return FALSE;
}