remove frequency set to pca9685
authorJeonghoon Park <jh1979.park@samsung.com>
Thu, 7 Dec 2017 06:15:13 +0000 (15:15 +0900)
committerJeonghoon Park <jh1979.park@samsung.com>
Thu, 7 Dec 2017 06:15:13 +0000 (15:15 +0900)
src/dc_motor.c

index dbe57ca..bf654bd 100644 (file)
@@ -160,12 +160,6 @@ static int pins_init(void)
                return -1;
        }
 
-       ret = pca9685_set_frequency(60);
-       if (ret) {
-               _E("failed to set frequency to PCA9685");
-               goto ERROR;
-       }
-
        /* open pins for Motor A */
        ret = peripheral_gpio_open(MotorA_1, &motorA_1_h);
        if (ret == PERIPHERAL_ERROR_NONE)