2017-02-25 11:15:18 +01:00
|
|
|
/**
|
2016-04-27 03:12:08 +02:00
|
|
|
* Marlin 3D Printer Firmware
|
2020-02-03 15:00:57 +01:00
|
|
|
* Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
|
2016-04-27 03:12:08 +02:00
|
|
|
*
|
|
|
|
* Based on Sprinter and grbl.
|
2019-06-28 06:57:50 +02:00
|
|
|
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
|
2016-04-27 03:12:08 +02:00
|
|
|
*
|
|
|
|
* This program is free software: you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
2020-07-23 05:20:14 +02:00
|
|
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
2016-04-27 03:12:08 +02:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2017-09-09 07:18:43 +02:00
|
|
|
#include "../inc/MarlinConfig.h"
|
|
|
|
|
2018-03-05 04:23:43 +01:00
|
|
|
#if DISABLED(PRINTCOUNTER)
|
2017-09-09 07:18:43 +02:00
|
|
|
|
2018-03-05 04:23:43 +01:00
|
|
|
#include "../libs/stopwatch.h"
|
|
|
|
Stopwatch print_job_timer; // Global Print Job Timer instance
|
2017-09-06 13:28:32 +02:00
|
|
|
|
2018-03-05 04:23:43 +01:00
|
|
|
#else // PRINTCOUNTER
|
|
|
|
|
2019-05-04 06:53:15 +02:00
|
|
|
#if ENABLED(EXTENSIBLE_UI)
|
2020-03-13 22:29:29 +01:00
|
|
|
#include "../lcd/extui/ui_api.h"
|
2019-05-04 06:53:15 +02:00
|
|
|
#endif
|
|
|
|
|
2018-03-05 04:23:43 +01:00
|
|
|
#include "printcounter.h"
|
2020-01-03 02:01:38 +01:00
|
|
|
#include "../MarlinCore.h"
|
2020-03-27 23:29:17 +01:00
|
|
|
#include "../HAL/shared/eeprom_api.h"
|
2016-04-27 03:12:08 +02:00
|
|
|
|
2019-02-12 22:58:56 +01:00
|
|
|
#if HAS_BUZZER && SERVICE_WARNING_BUZZES > 0
|
|
|
|
#include "../libs/buzzer.h"
|
|
|
|
#endif
|
|
|
|
|
2021-01-26 09:30:31 +01:00
|
|
|
#if PRINTCOUNTER_SYNC
|
|
|
|
#include "../module/planner.h"
|
|
|
|
#endif
|
|
|
|
|
2019-02-12 22:58:56 +01:00
|
|
|
// Service intervals
|
|
|
|
#if HAS_SERVICE_INTERVALS
|
|
|
|
#if SERVICE_INTERVAL_1 > 0
|
|
|
|
#define SERVICE_INTERVAL_SEC_1 (3600UL * SERVICE_INTERVAL_1)
|
|
|
|
#else
|
|
|
|
#define SERVICE_INTERVAL_SEC_1 (3600UL * 100)
|
|
|
|
#endif
|
|
|
|
#if SERVICE_INTERVAL_2 > 0
|
|
|
|
#define SERVICE_INTERVAL_SEC_2 (3600UL * SERVICE_INTERVAL_2)
|
|
|
|
#else
|
|
|
|
#define SERVICE_INTERVAL_SEC_2 (3600UL * 100)
|
|
|
|
#endif
|
|
|
|
#if SERVICE_INTERVAL_3 > 0
|
|
|
|
#define SERVICE_INTERVAL_SEC_3 (3600UL * SERVICE_INTERVAL_3)
|
|
|
|
#else
|
|
|
|
#define SERVICE_INTERVAL_SEC_3 (3600UL * 100)
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
2018-03-05 04:23:43 +01:00
|
|
|
PrintCounter print_job_timer; // Global Print Job Timer instance
|
|
|
|
|
|
|
|
printStatistics PrintCounter::data;
|
|
|
|
|
2019-02-12 22:58:56 +01:00
|
|
|
const PrintCounter::eeprom_address_t PrintCounter::address = STATS_EEPROM_ADDRESS;
|
2018-03-05 04:23:43 +01:00
|
|
|
|
|
|
|
millis_t PrintCounter::lastDuration;
|
|
|
|
bool PrintCounter::loaded = false;
|
|
|
|
|
2016-07-13 04:03:42 +02:00
|
|
|
millis_t PrintCounter::deltaDuration() {
|
2020-04-22 23:35:03 +02:00
|
|
|
TERN_(DEBUG_PRINTCOUNTER, debug(PSTR("deltaDuration")));
|
2018-03-05 04:23:43 +01:00
|
|
|
millis_t tmp = lastDuration;
|
|
|
|
lastDuration = duration();
|
|
|
|
return lastDuration - tmp;
|
2016-04-27 03:12:46 +02:00
|
|
|
}
|
|
|
|
|
2018-07-01 22:20:28 +02:00
|
|
|
void PrintCounter::incFilamentUsed(float const &amount) {
|
2020-04-22 23:35:03 +02:00
|
|
|
TERN_(DEBUG_PRINTCOUNTER, debug(PSTR("incFilamentUsed")));
|
2016-07-14 03:18:59 +02:00
|
|
|
|
|
|
|
// Refuses to update data if object is not loaded
|
2018-03-05 04:23:43 +01:00
|
|
|
if (!isLoaded()) return;
|
2016-07-14 03:18:59 +02:00
|
|
|
|
2018-03-05 04:23:43 +01:00
|
|
|
data.filamentUsed += amount; // mm
|
2016-07-14 03:18:59 +02:00
|
|
|
}
|
|
|
|
|
2016-04-27 03:12:46 +02:00
|
|
|
void PrintCounter::initStats() {
|
2020-04-22 23:35:03 +02:00
|
|
|
TERN_(DEBUG_PRINTCOUNTER, debug(PSTR("initStats")));
|
2016-04-27 03:12:46 +02:00
|
|
|
|
2018-03-05 04:23:43 +01:00
|
|
|
loaded = true;
|
2019-02-12 22:58:56 +01:00
|
|
|
data = { 0, 0, 0, 0, 0.0
|
|
|
|
#if HAS_SERVICE_INTERVALS
|
2019-02-17 19:32:47 +01:00
|
|
|
#if SERVICE_INTERVAL_1 > 0
|
|
|
|
, SERVICE_INTERVAL_SEC_1
|
|
|
|
#endif
|
|
|
|
#if SERVICE_INTERVAL_2 > 0
|
|
|
|
, SERVICE_INTERVAL_SEC_2
|
|
|
|
#endif
|
|
|
|
#if SERVICE_INTERVAL_3 > 0
|
|
|
|
, SERVICE_INTERVAL_SEC_3
|
|
|
|
#endif
|
2019-02-12 22:58:56 +01:00
|
|
|
#endif
|
|
|
|
};
|
2016-04-27 03:12:46 +02:00
|
|
|
|
2018-03-05 04:23:43 +01:00
|
|
|
saveStats();
|
2018-08-12 09:50:39 +02:00
|
|
|
persistentStore.access_start();
|
2018-08-15 01:35:36 +02:00
|
|
|
persistentStore.write_data(address, (uint8_t)0x16);
|
2018-08-12 09:50:39 +02:00
|
|
|
persistentStore.access_finish();
|
2016-04-27 03:12:46 +02:00
|
|
|
}
|
|
|
|
|
2019-02-12 22:58:56 +01:00
|
|
|
#if HAS_SERVICE_INTERVALS
|
|
|
|
inline void _print_divider() { SERIAL_ECHO_MSG("============================================="); }
|
|
|
|
inline bool _service_warn(const char * const msg) {
|
|
|
|
_print_divider();
|
|
|
|
SERIAL_ECHO_START();
|
2021-03-01 02:43:46 +01:00
|
|
|
SERIAL_ECHOPGM_P(msg);
|
2019-02-12 22:58:56 +01:00
|
|
|
SERIAL_ECHOLNPGM("!");
|
|
|
|
_print_divider();
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2016-04-27 03:12:46 +02:00
|
|
|
void PrintCounter::loadStats() {
|
2020-04-22 23:35:03 +02:00
|
|
|
TERN_(DEBUG_PRINTCOUNTER, debug(PSTR("loadStats")));
|
2016-04-27 03:12:46 +02:00
|
|
|
|
2018-08-12 09:50:39 +02:00
|
|
|
// Check if the EEPROM block is initialized
|
2018-08-15 01:35:36 +02:00
|
|
|
uint8_t value = 0;
|
2018-08-12 09:50:39 +02:00
|
|
|
persistentStore.access_start();
|
2018-08-15 01:35:36 +02:00
|
|
|
persistentStore.read_data(address, &value, sizeof(uint8_t));
|
|
|
|
if (value != 0x16)
|
|
|
|
initStats();
|
|
|
|
else
|
|
|
|
persistentStore.read_data(address + sizeof(uint8_t), (uint8_t*)&data, sizeof(printStatistics));
|
2018-08-12 09:50:39 +02:00
|
|
|
persistentStore.access_finish();
|
2018-03-05 04:23:43 +01:00
|
|
|
loaded = true;
|
2019-02-12 22:58:56 +01:00
|
|
|
|
|
|
|
#if HAS_SERVICE_INTERVALS
|
|
|
|
bool doBuzz = false;
|
|
|
|
#if SERVICE_INTERVAL_1 > 0
|
|
|
|
if (data.nextService1 == 0) doBuzz = _service_warn(PSTR(" " SERVICE_NAME_1));
|
|
|
|
#endif
|
|
|
|
#if SERVICE_INTERVAL_2 > 0
|
|
|
|
if (data.nextService2 == 0) doBuzz = _service_warn(PSTR(" " SERVICE_NAME_2));
|
|
|
|
#endif
|
|
|
|
#if SERVICE_INTERVAL_3 > 0
|
|
|
|
if (data.nextService3 == 0) doBuzz = _service_warn(PSTR(" " SERVICE_NAME_3));
|
|
|
|
#endif
|
|
|
|
#if HAS_BUZZER && SERVICE_WARNING_BUZZES > 0
|
|
|
|
if (doBuzz) for (int i = 0; i < SERVICE_WARNING_BUZZES; i++) BUZZ(200, 404);
|
2019-08-20 09:01:37 +02:00
|
|
|
#else
|
|
|
|
UNUSED(doBuzz);
|
2019-02-12 22:58:56 +01:00
|
|
|
#endif
|
|
|
|
#endif // HAS_SERVICE_INTERVALS
|
2016-04-27 03:12:46 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
void PrintCounter::saveStats() {
|
2020-04-22 23:35:03 +02:00
|
|
|
TERN_(DEBUG_PRINTCOUNTER, debug(PSTR("saveStats")));
|
2016-04-27 03:12:46 +02:00
|
|
|
|
2016-07-14 03:18:59 +02:00
|
|
|
// Refuses to save data if object is not loaded
|
2018-03-05 04:23:43 +01:00
|
|
|
if (!isLoaded()) return;
|
2016-04-27 03:12:46 +02:00
|
|
|
|
2021-01-26 09:30:31 +01:00
|
|
|
TERN_(PRINTCOUNTER_SYNC, planner.synchronize());
|
|
|
|
|
2016-05-22 02:59:59 +02:00
|
|
|
// Saves the struct to EEPROM
|
2018-08-12 09:50:39 +02:00
|
|
|
persistentStore.access_start();
|
2018-08-15 01:35:36 +02:00
|
|
|
persistentStore.write_data(address + sizeof(uint8_t), (uint8_t*)&data, sizeof(printStatistics));
|
2018-08-12 09:50:39 +02:00
|
|
|
persistentStore.access_finish();
|
2019-05-04 06:53:15 +02:00
|
|
|
|
2020-04-22 23:35:03 +02:00
|
|
|
TERN_(EXTENSIBLE_UI, ExtUI::onConfigurationStoreWritten(true));
|
2016-04-27 03:12:46 +02:00
|
|
|
}
|
|
|
|
|
2019-02-12 22:58:56 +01:00
|
|
|
#if HAS_SERVICE_INTERVALS
|
|
|
|
inline void _service_when(char buffer[], const char * const msg, const uint32_t when) {
|
2020-02-26 10:02:03 +01:00
|
|
|
SERIAL_ECHOPGM(STR_STATS);
|
2021-03-01 02:43:46 +01:00
|
|
|
SERIAL_ECHOPGM_P(msg);
|
2019-09-27 09:59:49 +02:00
|
|
|
SERIAL_ECHOLNPAIR(" in ", duration_t(when).toString(buffer));
|
2019-02-12 22:58:56 +01:00
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2016-04-27 03:12:46 +02:00
|
|
|
void PrintCounter::showStats() {
|
2020-11-14 01:27:31 +01:00
|
|
|
char buffer[22];
|
2016-07-22 16:47:56 +02:00
|
|
|
|
2020-02-26 10:02:03 +01:00
|
|
|
SERIAL_ECHOPGM(STR_STATS);
|
2019-03-05 13:46:19 +01:00
|
|
|
SERIAL_ECHOLNPAIR(
|
|
|
|
"Prints: ", data.totalPrints,
|
|
|
|
", Finished: ", data.finishedPrints,
|
|
|
|
", Failed: ", data.totalPrints - data.finishedPrints
|
|
|
|
- ((isRunning() || isPaused()) ? 1 : 0) // Remove 1 from failures with an active counter
|
|
|
|
);
|
2016-07-14 03:18:59 +02:00
|
|
|
|
2020-02-26 10:02:03 +01:00
|
|
|
SERIAL_ECHOPGM(STR_STATS);
|
2018-03-05 04:23:43 +01:00
|
|
|
duration_t elapsed = data.printTime;
|
2016-07-24 04:13:35 +02:00
|
|
|
elapsed.toString(buffer);
|
2019-03-05 13:46:19 +01:00
|
|
|
SERIAL_ECHOPAIR("Total time: ", buffer);
|
2016-04-27 03:12:46 +02:00
|
|
|
#if ENABLED(DEBUG_PRINTCOUNTER)
|
2019-03-05 13:46:19 +01:00
|
|
|
SERIAL_ECHOPAIR(" (", data.printTime);
|
2017-03-18 16:17:00 +01:00
|
|
|
SERIAL_CHAR(')');
|
2016-04-27 03:12:46 +02:00
|
|
|
#endif
|
|
|
|
|
2018-03-05 04:23:43 +01:00
|
|
|
elapsed = data.longestPrint;
|
2016-07-24 04:13:35 +02:00
|
|
|
elapsed.toString(buffer);
|
2019-03-05 13:46:19 +01:00
|
|
|
SERIAL_ECHOPAIR(", Longest job: ", buffer);
|
2016-07-14 03:18:59 +02:00
|
|
|
#if ENABLED(DEBUG_PRINTCOUNTER)
|
2019-03-05 13:46:19 +01:00
|
|
|
SERIAL_ECHOPAIR(" (", data.longestPrint);
|
2017-03-18 16:17:00 +01:00
|
|
|
SERIAL_CHAR(')');
|
2016-07-14 03:18:59 +02:00
|
|
|
#endif
|
|
|
|
|
2020-02-26 10:02:03 +01:00
|
|
|
SERIAL_ECHOPAIR("\n" STR_STATS "Filament used: ", data.filamentUsed / 1000);
|
2018-01-24 02:09:40 +01:00
|
|
|
SERIAL_CHAR('m');
|
2017-06-09 17:51:23 +02:00
|
|
|
SERIAL_EOL();
|
2019-02-12 22:58:56 +01:00
|
|
|
|
|
|
|
#if SERVICE_INTERVAL_1 > 0
|
|
|
|
_service_when(buffer, PSTR(SERVICE_NAME_1), data.nextService1);
|
|
|
|
#endif
|
|
|
|
#if SERVICE_INTERVAL_2 > 0
|
|
|
|
_service_when(buffer, PSTR(SERVICE_NAME_2), data.nextService2);
|
|
|
|
#endif
|
|
|
|
#if SERVICE_INTERVAL_3 > 0
|
|
|
|
_service_when(buffer, PSTR(SERVICE_NAME_3), data.nextService3);
|
|
|
|
#endif
|
2016-04-27 03:12:46 +02:00
|
|
|
}
|
2016-04-27 03:12:08 +02:00
|
|
|
|
|
|
|
void PrintCounter::tick() {
|
2018-03-05 04:23:43 +01:00
|
|
|
if (!isRunning()) return;
|
2016-04-27 03:12:08 +02:00
|
|
|
|
2016-07-13 04:03:42 +02:00
|
|
|
millis_t now = millis();
|
2016-04-27 03:12:08 +02:00
|
|
|
|
2021-01-25 15:32:58 +01:00
|
|
|
static millis_t update_next; // = 0
|
2018-09-01 00:40:39 +02:00
|
|
|
if (ELAPSED(now, update_next)) {
|
2021-01-25 15:32:58 +01:00
|
|
|
update_next = now + updateInterval;
|
|
|
|
|
2020-04-22 23:35:03 +02:00
|
|
|
TERN_(DEBUG_PRINTCOUNTER, debug(PSTR("tick")));
|
2021-01-25 15:32:58 +01:00
|
|
|
|
2019-02-12 22:58:56 +01:00
|
|
|
millis_t delta = deltaDuration();
|
|
|
|
data.printTime += delta;
|
|
|
|
|
|
|
|
#if SERVICE_INTERVAL_1 > 0
|
2019-07-06 01:01:21 +02:00
|
|
|
data.nextService1 -= _MIN(delta, data.nextService1);
|
2019-02-12 22:58:56 +01:00
|
|
|
#endif
|
|
|
|
#if SERVICE_INTERVAL_2 > 0
|
2019-07-06 01:01:21 +02:00
|
|
|
data.nextService2 -= _MIN(delta, data.nextService2);
|
2019-02-12 22:58:56 +01:00
|
|
|
#endif
|
|
|
|
#if SERVICE_INTERVAL_3 > 0
|
2019-07-06 01:01:21 +02:00
|
|
|
data.nextService3 -= _MIN(delta, data.nextService3);
|
2019-02-12 22:58:56 +01:00
|
|
|
#endif
|
2016-04-27 03:12:08 +02:00
|
|
|
}
|
|
|
|
|
2021-01-26 09:30:31 +01:00
|
|
|
#if PRINTCOUNTER_SAVE_INTERVAL > 0
|
|
|
|
static millis_t eeprom_next; // = 0
|
|
|
|
if (ELAPSED(now, eeprom_next)) {
|
|
|
|
eeprom_next = now + saveInterval;
|
|
|
|
saveStats();
|
|
|
|
}
|
|
|
|
#endif
|
2016-04-27 03:12:08 +02:00
|
|
|
}
|
|
|
|
|
2016-05-22 02:59:59 +02:00
|
|
|
// @Override
|
|
|
|
bool PrintCounter::start() {
|
2020-04-22 23:35:03 +02:00
|
|
|
TERN_(DEBUG_PRINTCOUNTER, debug(PSTR("start")));
|
2016-04-27 03:12:08 +02:00
|
|
|
|
2018-03-05 04:23:43 +01:00
|
|
|
bool paused = isPaused();
|
2016-05-22 02:59:59 +02:00
|
|
|
|
|
|
|
if (super::start()) {
|
|
|
|
if (!paused) {
|
2018-03-05 04:23:43 +01:00
|
|
|
data.totalPrints++;
|
|
|
|
lastDuration = 0;
|
2016-05-22 02:59:59 +02:00
|
|
|
}
|
|
|
|
return true;
|
|
|
|
}
|
2017-04-26 09:43:11 +02:00
|
|
|
|
|
|
|
return false;
|
2016-04-27 03:12:08 +02:00
|
|
|
}
|
|
|
|
|
2021-01-26 09:30:31 +01:00
|
|
|
bool PrintCounter::_stop(const bool completed) {
|
2020-04-22 23:35:03 +02:00
|
|
|
TERN_(DEBUG_PRINTCOUNTER, debug(PSTR("stop")));
|
2016-04-27 03:12:08 +02:00
|
|
|
|
2021-01-26 09:30:31 +01:00
|
|
|
const bool did_stop = super::stop();
|
|
|
|
if (did_stop) {
|
2018-03-05 04:23:43 +01:00
|
|
|
data.printTime += deltaDuration();
|
2021-01-26 09:30:31 +01:00
|
|
|
if (completed) {
|
|
|
|
data.finishedPrints++;
|
|
|
|
if (duration() > data.longestPrint)
|
|
|
|
data.longestPrint = duration();
|
|
|
|
}
|
2016-05-22 02:59:59 +02:00
|
|
|
}
|
2021-01-26 09:30:31 +01:00
|
|
|
saveStats();
|
|
|
|
return did_stop;
|
2016-04-27 03:12:08 +02:00
|
|
|
}
|
|
|
|
|
2016-05-22 02:59:59 +02:00
|
|
|
// @Override
|
2016-04-27 03:12:46 +02:00
|
|
|
void PrintCounter::reset() {
|
2020-04-22 23:35:03 +02:00
|
|
|
TERN_(DEBUG_PRINTCOUNTER, debug(PSTR("stop")));
|
2016-04-27 03:12:08 +02:00
|
|
|
|
2016-04-27 03:12:46 +02:00
|
|
|
super::reset();
|
2018-03-05 04:23:43 +01:00
|
|
|
lastDuration = 0;
|
2016-04-27 03:12:08 +02:00
|
|
|
}
|
|
|
|
|
2019-02-12 22:58:56 +01:00
|
|
|
#if HAS_SERVICE_INTERVALS
|
|
|
|
|
|
|
|
void PrintCounter::resetServiceInterval(const int index) {
|
|
|
|
switch (index) {
|
|
|
|
#if SERVICE_INTERVAL_1 > 0
|
|
|
|
case 1: data.nextService1 = SERVICE_INTERVAL_SEC_1;
|
|
|
|
#endif
|
|
|
|
#if SERVICE_INTERVAL_2 > 0
|
|
|
|
case 2: data.nextService2 = SERVICE_INTERVAL_SEC_2;
|
|
|
|
#endif
|
|
|
|
#if SERVICE_INTERVAL_3 > 0
|
|
|
|
case 3: data.nextService3 = SERVICE_INTERVAL_SEC_3;
|
|
|
|
#endif
|
|
|
|
}
|
|
|
|
saveStats();
|
|
|
|
}
|
|
|
|
|
|
|
|
bool PrintCounter::needsService(const int index) {
|
|
|
|
switch (index) {
|
|
|
|
#if SERVICE_INTERVAL_1 > 0
|
|
|
|
case 1: return data.nextService1 == 0;
|
|
|
|
#endif
|
|
|
|
#if SERVICE_INTERVAL_2 > 0
|
|
|
|
case 2: return data.nextService2 == 0;
|
|
|
|
#endif
|
|
|
|
#if SERVICE_INTERVAL_3 > 0
|
|
|
|
case 3: return data.nextService3 == 0;
|
|
|
|
#endif
|
|
|
|
default: return false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif // HAS_SERVICE_INTERVALS
|
|
|
|
|
2016-04-27 03:12:08 +02:00
|
|
|
#if ENABLED(DEBUG_PRINTCOUNTER)
|
|
|
|
|
|
|
|
void PrintCounter::debug(const char func[]) {
|
|
|
|
if (DEBUGGING(INFO)) {
|
|
|
|
SERIAL_ECHOPGM("PrintCounter::");
|
2021-03-01 02:43:46 +01:00
|
|
|
SERIAL_ECHOPGM_P(func);
|
2016-04-27 03:12:08 +02:00
|
|
|
SERIAL_ECHOLNPGM("()");
|
|
|
|
}
|
|
|
|
}
|
2019-02-12 22:58:56 +01:00
|
|
|
|
2016-04-27 03:12:08 +02:00
|
|
|
#endif
|
2017-09-09 07:18:43 +02:00
|
|
|
|
|
|
|
#endif // PRINTCOUNTER
|