mirror of
https://github.com/xtacocorex/CHIP_IO
synced 2025-07-20 12:53:22 +00:00
Reverts accidental change to c_pwm
This commit is contained in:
@ -147,7 +147,7 @@ int pwm_set_polarity(const char *key, int polarity) {
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
len = snprintf(buffer, sizeof(buffer), "%s", "inverted");
|
len = snprintf(buffer, sizeof(buffer), "%s", "inverted");
|
||||||
}
|
}
|
||||||
write(pwm->polarity_fd, buffer, len);
|
write(pwm->polarity_fd, buffer, len);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
Reference in New Issue
Block a user