| 3317 | |
| 3318 | |
| 3319 | int wiringPiUserLevelAccess(void) |
| 3320 | { |
| 3321 | struct stat statBuf ; |
| 3322 | const char* gpiomemModule = gpiomem_BCM; |
| 3323 | |
| 3324 | piBoard(); |
| 3325 | if (piRP1Model()) { |
| 3326 | gpiomemModule = gpiomem_RP1; |
| 3327 | } |
| 3328 | |
| 3329 | return stat(gpiomemModule, &statBuf) == 0 ? 1 : 0; |
| 3330 | } |
| 3331 | |
| 3332 | |
| 3333 | int CheckPCIeFileContent(const char* pcieaddress, const char* filename, const char* content) { |
no test coverage detected