File tree 2 files changed +5
-5
lines changed
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;
49
49
50
50
ledc_clk_cfg_t clock_source = LEDC_DEFAULT_CLK ;
51
51
52
- ledc_clk_cfg_t ledcReadClockSource (void ) {
52
+ ledc_clk_cfg_t ledcGetClockSource (void ) {
53
53
return clock_source ;
54
54
}
55
55
56
- bool ledcWriteClockSource (ledc_clk_cfg_t source ) {
56
+ bool ledcSetClockSource (ledc_clk_cfg_t source ) {
57
57
if (ledc_handle .used_channels ) {
58
58
log_e ("Cannot change LEDC clock source! LEDC channels in use." );
59
59
return false;
Original file line number Diff line number Diff line change @@ -59,18 +59,18 @@ typedef struct {
59
59
} ledc_channel_handle_t ;
60
60
61
61
/**
62
- * @brief Read the LEDC clock source.
62
+ * @brief Get the LEDC clock source.
63
63
*
64
64
* @return LEDC clock source.
65
65
*/
66
- ledc_clk_cfg_t ledcReadClockSource (void );
66
+ ledc_clk_cfg_t ledcGetClockSource (void );
67
67
68
68
/**
69
69
* @brief Set the LEDC clock source.
70
70
*
71
71
* @return true if LEDC clock source was successfully set, false otherwise.
72
72
*/
73
- bool ledcWriteClockSource (ledc_clk_cfg_t source );
73
+ bool ledcSetClockSource (ledc_clk_cfg_t source );
74
74
75
75
/**
76
76
* @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