mirror of
https://github.com/lumapu/ahoy.git
synced 2025-07-29 06:07:13 +02:00
0.7.49
* add option to strip webUI for ESP8266 (reduce code size, add ESP32 special features; `IF_ESP32` directives) * started to get CMT info into `system` - not finished
This commit is contained in:
parent
b9c5a54510
commit
9dd689b395
8 changed files with 134 additions and 48 deletions
|
@ -14,6 +14,11 @@
|
|||
#include "ESPAsyncWebServer.h"
|
||||
#endif
|
||||
|
||||
//#include "hms/hmsRadio.h"
|
||||
#if defined(ESP32)
|
||||
//typedef CmtRadio<esp32_3wSpi<>> CmtRadioType;
|
||||
#endif
|
||||
|
||||
// abstract interface to App. Make members of App accessible from child class
|
||||
// like web or API without forward declaration
|
||||
class IApp {
|
||||
|
@ -62,6 +67,10 @@ class IApp {
|
|||
|
||||
virtual void getNrfRadioCounters(uint32_t *sendCnt, uint32_t *retransmits) = 0;
|
||||
//virtual void getCmtRadioCounters(uint32_t *sendCnt, uint32_t *retransmits) = 0;
|
||||
|
||||
#if defined(ESP32)
|
||||
//virtual const CmtRadioType& getCmtRadioObj(void) const = 0;
|
||||
#endif
|
||||
};
|
||||
|
||||
#endif /*__IAPP_H__*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue