Revert "bugfix curve plotter display"

This reverts commit 3e045bfcf4.
This commit is contained in:
cyberman54 2022-01-20 11:59:13 +01:00
parent 3e045bfcf4
commit 5ec8b68fff
2 changed files with 6 additions and 0 deletions

View File

@ -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

View File

@ -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) {