1
0
mirror of https://github.com/xtacocorex/CHIP_IO synced 2025-07-20 12:53:22 +00:00

Adds softpwm files

This commit is contained in:
Brady L. Hurlburt
2016-04-07 20:19:38 +00:00
parent 777fda06a3
commit 9ac22c32cd
7 changed files with 640 additions and 8 deletions

View File

@ -147,7 +147,7 @@ int pwm_set_polarity(const char *key, int polarity) {
else
{
len = snprintf(buffer, sizeof(buffer), "%s", "inverted");
}
}
write(pwm->polarity_fd, buffer, len);
return 0;