RaspberrPi project source code
guowenxue
10 hours ago a574ce7edf7f31847be882f9f08dcd1ab8e5ebe0
project/modules/pwm.c
@@ -32,7 +32,7 @@
#include <libgen.h>
#include "logger.h"
#include "util_proc.h"
#include "utils.h"
#include "pwm.h"
/* check PWM $channel export or not */
@@ -118,8 +118,6 @@
int init_pwm(int channel, int freq, int duty)
{
   int           rv;
   char          buf[32];
   char          path[256];
   if( (rv=export_pwm(channel, 1)) )
   {