mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
touch_sensor.c: Fix datatype of argument for timer callback function
This commit is contained in:
parent
f2cdebd906
commit
34d41645d3
@ -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 New Issue
Block a user