Фикс дефайна Filter_ReInit
This commit is contained in:
parent
9bff9ad44d
commit
513f56fe7d
@ -129,8 +129,8 @@ int32_t process_value_int(int32_t raw_adc_quant) {
|
||||
* @param filter Указатель на структуру фильтра
|
||||
* @details Запускает функцию инициализации, если указатель инициализирован
|
||||
*/
|
||||
#define Filter_ReInit(_fltr_, _input_) \
|
||||
((_fltr_)->reset != NULL) ? (_fltr_)->reset(_fltr_, _input_): -1
|
||||
#define Filter_ReInit(_fltr_, ...) \
|
||||
((_fltr_)->reset != NULL) ? (_fltr_)->reset(_fltr_, __VA_ARGS__): -1
|
||||
|
||||
|
||||
/**
|
||||
|
||||
Loading…
Reference in New Issue
Block a user