ESP32-PaxCounter/src/libpax_helpers.cpp

13 lines
313 B
C++
Raw Normal View History

#include "libpax_helpers.h"
2021-03-25 14:24:25 +01:00
// Local logging tag
static const char TAG[] = __FILE__;
// libpax payload
struct count_payload_t count_from_libpax;
void init_libpax(void) {
libpax_counter_init(setSendIRQ, &count_from_libpax, cfg.sendcycle * 2,
2021-08-27 19:45:37 +02:00
cfg.countermode);
2021-03-25 10:30:38 +01:00
libpax_counter_start();
}