| 703 | #define RETURN_ON_MODEL5 if (piRP1Model()) { if (wiringPiDebug) printf("Function not supported on Pi5\n"); return; } |
| 704 | |
| 705 | int FailOnModel5(const char *function) { |
| 706 | if (piRP1Model()) { |
| 707 | return wiringPiFailure (WPI_ALMOST, "Function '%s' not supported on Raspberry Pi 5.\n" |
| 708 | " Unable to continue. Keep an eye of new versions at https://github.com/wiringpi/wiringpi\n", function) ; |
| 709 | } |
| 710 | return 0; |
| 711 | } |
| 712 | |
| 713 | // gpioToGPFSEL: |
| 714 | // Map a BCM_GPIO pin to it's Function Selection |
no test coverage detected