#264 adjust unit test and autodetect unit test 6.2 irq
This commit is contained in:
@@ -189,9 +189,9 @@ int main (void) {
|
||||
|
||||
wiringPiVersion(&major, &minor);
|
||||
|
||||
int result = piBoard40Pin();
|
||||
CheckNotSame("40-Pin board: ", result, -1);
|
||||
if (result==0) {
|
||||
int _is40pin = piBoard40Pin();
|
||||
CheckNotSame("40-Pin board: ", _is40pin, -1);
|
||||
if (_is40pin==0) {
|
||||
printf("Old 28pin system\n");
|
||||
//GPIO = 23;
|
||||
//GPIOIN = 24;
|
||||
|
||||
Reference in New Issue
Block a user