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:
@ -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;
|
||||
|
Reference in New Issue
Block a user