diff --git a/source/c_pwm.c b/source/c_pwm.c index b4aa3e0..c38657c 100644 --- a/source/c_pwm.c +++ b/source/c_pwm.c @@ -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;