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