Skip to content

Commit

Permalink
Merge pull request #119 from pjueon/update-sysfs-prefixes
Browse files Browse the repository at this point in the history
Update sysfs_prefixes
  • Loading branch information
pjueon authored Jun 4, 2024
2 parents e99d501 + e3b2983 commit 887ec0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/GPIOPinData.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -674,7 +674,7 @@ namespace GPIO
map<string, string> gpio_chip_ngpio{};
map<string, string> pwm_dirs{};

vector<string> sysfs_prefixes = {"/sys/devices/", "/sys/devices/platform/"};
vector<string> sysfs_prefixes = {"/sys/devices/", "/sys/devices/platform/", "/sys/bus/platform/devices/"};

// Get the gpiochip offsets
set<string> gpio_chip_names{};
Expand Down

0 comments on commit 887ec0d

Please sign in to comment.