Calculate TX air time duty cycles #588 -- UNTESTED

This commit is contained in:
Jm Casler
2020-12-25 16:10:38 -08:00
parent 34e6dbec81
commit ded2b86e55
4 changed files with 88 additions and 22 deletions

View File

@@ -5,6 +5,7 @@
#include "MeshTypes.h"
#include "Observer.h"
#include "PointerQueue.h"
#include "airtime.h"
#include "mesh.pb.h"
#define MAX_TX_QUEUE 16 // max number of packets which can be waiting for transmission
@@ -36,7 +37,7 @@ typedef struct {
*
* This defines the SOLE API for talking to radios (because soon we will have alternate radio implementations)
*/
class RadioInterface
class RadioInterface
{
friend class MeshRadio; // for debugging we let that class touch pool
PointerQueue<MeshPacket> *rxDest = NULL;