налажена связь между 2 esp
This commit is contained in:
@@ -17,8 +17,10 @@ class Radio {
|
||||
private:
|
||||
static void onReceive(const esp_now_recv_info_t *info, const uint8_t *data, int length);
|
||||
bool ensurePeer(const uint8_t mac[6]);
|
||||
void maintainChannel();
|
||||
static Radio *instance_;
|
||||
QueueHandle_t queue_ = nullptr;
|
||||
bool active_ = false;
|
||||
uint32_t lastChannelCheckMs_ = 0;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user