parent
3e045bfcf4
commit
5ec8b68fff
@ -174,6 +174,9 @@ void dp_init(bool verbose) {
|
|||||||
|
|
||||||
void dp_refresh(bool nextPage) {
|
void dp_refresh(bool nextPage) {
|
||||||
|
|
||||||
|
// update counter values from libpax
|
||||||
|
libpax_counter_count(&count_from_libpax);
|
||||||
|
|
||||||
#ifndef HAS_BUTTON
|
#ifndef HAS_BUTTON
|
||||||
static uint32_t framecounter = 0;
|
static uint32_t framecounter = 0;
|
||||||
#endif
|
#endif
|
||||||
|
@ -75,6 +75,9 @@ void refreshTheMatrixDisplay(bool nextPage) {
|
|||||||
|
|
||||||
case 0:
|
case 0:
|
||||||
|
|
||||||
|
// update counter values from libpax
|
||||||
|
libpax_counter_count(&count_from_libpax);
|
||||||
|
|
||||||
if (cfg.countermode == 1) {
|
if (cfg.countermode == 1) {
|
||||||
// cumulative counter mode -> display total number of pax
|
// cumulative counter mode -> display total number of pax
|
||||||
if (ulLastNumMacs != count_from_libpax.pax) {
|
if (ulLastNumMacs != count_from_libpax.pax) {
|
||||||
|
Loading…
Reference in New Issue
Block a user