Minor changes
This commit is contained in:
parent
cf32071ee0
commit
5fafe9a538
14
src/main.cpp
14
src/main.cpp
@ -15,13 +15,6 @@
|
||||
#include "ESP32SSDP.h"
|
||||
#endif
|
||||
|
||||
typedef enum : uint8_t
|
||||
{
|
||||
ESP_NOW,
|
||||
ESP_NOW_WIFI,
|
||||
ESP_NOW_LAN
|
||||
} work_mode_t;
|
||||
|
||||
void onEspnowMessage(const char *data, const uint8_t *sender);
|
||||
|
||||
void onMqttMessage(char *topic, byte *payload, unsigned int length);
|
||||
@ -42,6 +35,13 @@ void checkMqttAvailability(void);
|
||||
|
||||
void mqttPublish(const char *topic, const char *payload, bool retained);
|
||||
|
||||
typedef enum : uint8_t
|
||||
{
|
||||
ESP_NOW,
|
||||
ESP_NOW_WIFI,
|
||||
ESP_NOW_LAN
|
||||
} work_mode_t;
|
||||
|
||||
const String firmware{"1.42"};
|
||||
|
||||
String espnowNetName{"DEFAULT"};
|
||||
|
Loading…
x
Reference in New Issue
Block a user