File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -49,11 +49,11 @@ static bool fade_initialized = false;
4949
5050ledc_clk_cfg_t clock_source = LEDC_DEFAULT_CLK ;
5151
52- ledc_clk_cfg_t ledcReadClockSource (void ) {
52+ ledc_clk_cfg_t ledcGetClockSource (void ) {
5353 return clock_source ;
5454}
5555
56- bool ledcWriteClockSource (ledc_clk_cfg_t source ) {
56+ bool ledcSetClockSource (ledc_clk_cfg_t source ) {
5757 if (ledc_handle .used_channels ) {
5858 log_e ("Cannot change LEDC clock source! LEDC channels in use." );
5959 return false;
Original file line number Diff line number Diff line change @@ -59,18 +59,18 @@ typedef struct {
5959} ledc_channel_handle_t ;
6060
6161/**
62- * @brief Read the LEDC clock source.
62+ * @brief Get the LEDC clock source.
6363 *
6464 * @return LEDC clock source.
6565 */
66- ledc_clk_cfg_t ledcReadClockSource (void );
66+ ledc_clk_cfg_t ledcGetClockSource (void );
6767
6868/**
6969 * @brief Set the LEDC clock source.
7070 *
7171 * @return true if LEDC clock source was successfully set, false otherwise.
7272 */
73- bool ledcWriteClockSource (ledc_clk_cfg_t source );
73+ bool ledcSetClockSource (ledc_clk_cfg_t source );
7474
7575/**
7676 * @brief Attach a pin to the LEDC driver, with a given frequency and resolution.
You can’t perform that action at this time.
0 commit comments