mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-23 19:20:41 +00:00
Calculate TX air time duty cycles #588 -- UNTESTED
This commit is contained in:
@@ -4,3 +4,13 @@
|
||||
#include <Arduino.h>
|
||||
#include <functional>
|
||||
|
||||
enum reportTypes { TX_LOG, RX_LOG, RX_ALL_LOG };
|
||||
|
||||
void logAirtime(reportTypes reportType, uint32_t airtime_ms);
|
||||
|
||||
void currentHourIndexReset();
|
||||
uint8_t currentHourIndex();
|
||||
|
||||
uint32_t secondsSinceBoot();
|
||||
|
||||
uint16_t *airtimeReport(reportTypes reportType);
|
||||
Reference in New Issue
Block a user