added link library gpiod
This commit is contained in:
@ -24,7 +24,7 @@ ReturnValue_t LibgpiodTest::performPeriodicAction() {
|
||||
ReturnValue_t result;
|
||||
|
||||
switch(testCase) {
|
||||
case(testCase == TestCases::READ): {
|
||||
case(TestCases::READ): {
|
||||
result = gpioInterface->readGpio(gpioIds::Test_ID, &gpioState);
|
||||
if (result != RETURN_OK) {
|
||||
sif::debug << "LibgpiodTest::performPeriodicAction: Failed to read gpio "
|
||||
@ -37,7 +37,7 @@ ReturnValue_t LibgpiodTest::performPeriodicAction() {
|
||||
}
|
||||
break;
|
||||
}
|
||||
case(testCase == TestCases::LOOPBACK): {
|
||||
case(TestCases::LOOPBACK): {
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -3,6 +3,10 @@ target_sources(${TARGET_NAME} PUBLIC
|
||||
LinuxLibgpioIF.cpp
|
||||
)
|
||||
|
||||
target_link_libraries(${TARGET_NAME} PUBLIC
|
||||
gpiod
|
||||
)
|
||||
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user