Skip to content

Commit

Permalink
bugfix on pwm fading function - 2
Browse files Browse the repository at this point in the history
  • Loading branch information
ogghst committed Apr 9, 2022
1 parent 296c107 commit eaf38eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/grownode/leaves/gn_pump_hs.c
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ void gn_leaf_pwm_task(gn_leaf_handle_t leaf_config) {

#ifdef GN_PUMP_HS_FADE
if (ret == ESP_OK) {
ret = ledc_fade_func_install(0);
ledc_fade_func_install(0);
ledc_cbs_t callbacks = { .fade_cb = cb_ledc_fade_end_event };

ledc_cb_register(ledc_channel.speed_mode, ledc_channel.channel,
Expand Down

0 comments on commit eaf38eb

Please sign in to comment.