modules/pwm.c
@@ -195,7 +195,7 @@ } /* configure PWM $channel */ int config_pwm(int channel, int freq, int duty) int config_pwm(int channel, int freq, int duty) { int fd; char buf[32]; @@ -240,7 +240,7 @@ if( (rv=export_pwm(channel, 1)) ) { printf("export PWM channel[%d] failed, rv=%d\n", channel, rv); return rv; return rv; } if( (rv=config_pwm(channel, freq, duty)) )