moved radio-statistic to inverter (not global per radio module any more)

This commit is contained in:
lumapu 2023-09-30 23:23:11 +02:00
parent 28868a6ca6
commit ac0a4976d8
8 changed files with 79 additions and 90 deletions

View file

@ -25,10 +25,6 @@
* automatically. Their result does not differ from original read values.
*/
// forward declaration of class
template <class REC_TYP=float>
class Inverter;
// prototypes
template<class T=float>
@ -155,6 +151,7 @@ class Inverter {
uint16_t alarmLastId; // lastId which was received
int8_t rssi; // RSSI
Radio *radio; // pointer to associated radio class
statistics_t radioStatistics; // information about transmitted, failed, ... packets
static uint32_t *timestamp; // system timestamp