touch_sensor.c: Fix datatype of argument for timer callback function
This commit is contained in:
parent
f2cdebd906
commit
34d41645d3
1 changed files with 1 additions and 1 deletions
|
@ -432,7 +432,7 @@ esp_err_t touch_pad_filter_start(uint32_t filter_period_ms)
|
|||
}
|
||||
if (s_touch_pad_filter->timer == NULL) {
|
||||
s_touch_pad_filter->timer = xTimerCreate("filter_tmr", filter_period_ms / portTICK_PERIOD_MS, pdFALSE,
|
||||
NULL, touch_pad_filter_cb);
|
||||
NULL, (TimerCallbackFunction_t) touch_pad_filter_cb);
|
||||
if (s_touch_pad_filter->timer == NULL) {
|
||||
free(s_touch_pad_filter);
|
||||
s_touch_pad_filter = NULL;
|
||||
|
|
Loading…
Reference in a new issue