added readout of some tx registers

This commit is contained in:
2021-02-27 11:07:42 +01:00
parent 1ef873098f
commit e4f3eb0172
5 changed files with 145 additions and 20 deletions

View File

@ -68,7 +68,8 @@ ReturnValue_t LinuxLibgpioIF::configureGpios(GpioMap* mapToAdd) {
lineNum = mapToAddIter->second.lineNum;
lineHandle = gpiod_chip_get_line(chip, lineNum);
if (!lineHandle) {
sif::error << "LinuxLibgpioIF::configureGpios: Failed to open line" << std::endl;
sif::error << "LinuxLibgpioIF::configureGpios: Failed to open line for GPIO with id "
<< mapToAddIter->first << std::endl;
gpiod_chip_close(chip);
return RETURN_FAILED;
}