staticconstchar*cfgSD_KEY[]={// Keep this in lexicographical order for better search performance(O(Nlog2(N)) insted of O(N*N)) (if you don't keep this sorted, the algorithm for find the key index won't work, keep attention.)
staticconstchar*cfgSD_KEY[]={// Keep this in lexicographical order for better search performance(O(Nlog2(N)) insted of O(N*N)) (if you don't keep this sorted, the algorithm for find the key index won't work, keep attention.)
#if HAS(POWER_CONSUMPTION_SENSOR)
"CPR",// Number of complete prints
"PWR",
"FIL",// Filament Usage
#endif
"NPR",// Number of prints
"FIL",
#if HAS(POWER_CONSUMPTION_SENSOR)
"TME"
"PWR",// Power Consumption
#endif
"TME",// Longest print job
"TPR"// Total printing time
};
};
enumcfgSD_ENUM{// This need to be in the same order as cfgSD_KEY
enumcfgSD_ENUM{// This need to be in the same order as cfgSD_KEY
externunsignedlongprinter_usage_seconds;// this can old about 136 year before go overflow. If you belive that you can live more than this please contact me.