Skip to content

Update sysfs pwm dir #104

@pjueon

Description

@pjueon

Update sysfs pwm dir for kernel 5.15. See: NVIDIA/jetson-gpio@e9f417a

Note

The variable sysfs_prefixes is also used here:

for (const auto& prefix : sysfs_prefixes)
{
auto d = prefix + gpio_chip_name;
if (os_path_isdir(d))
{
gpio_chip_dir = d;
break;
}
}

Should check if this change should also be applied to this part or not.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions