1
0
mirror of https://github.com/xtacocorex/CHIP_IO synced 2025-07-20 04:43:21 +00:00

Reverts accidental change to c_pwm

This commit is contained in:
Brady L. Hurlburt
2016-05-06 17:38:51 +00:00
parent f5063c199c
commit 3c912ecb72

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;