bugfix libpax countermode

This commit is contained in:
cyberman54 2021-04-13 01:57:02 +02:00
parent 13c8a5f0be
commit 44e5daaf02

View File

@ -16,7 +16,7 @@ void process_count(void) {
}
void init_libpax(void) {
libpax_counter_init(process_count, &count_from_libpax, cfg.sendcycle * 2 * 1000,
1);
libpax_counter_init(process_count, &count_from_libpax,
cfg.sendcycle * 2 * 1000, cfg.countermode);
libpax_counter_start();
}