Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix compilation on Arduino 3 #19447

Merged
merged 2 commits into from
Sep 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions lib/libesp32/berry_tasmota/src/be_mdns_module.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ BE_FUNC_CTYPE_DECLARE(m_mdns_stop, "", "")
extern void m_mdns_set_hostname(struct bvm *vm, const char * hostname);
BE_FUNC_CTYPE_DECLARE(m_mdns_set_hostname, "", "@s")

extern int32_t m_mdns_add_service(struct bvm *vm);
extern int32_t m_mdns_remove_service(struct bvm *vm);
extern int32_t m_dns_add_subtype(struct bvm *vm);
extern int32_t m_dns_add_hostname(struct bvm *vm);
extern int32_t m_dns_find_service(struct bvm *vm);
extern int m_mdns_add_service(struct bvm *vm);
extern int m_mdns_remove_service(struct bvm *vm);
extern int m_dns_add_subtype(struct bvm *vm);
extern int m_dns_add_hostname(struct bvm *vm);
extern int m_dns_find_service(struct bvm *vm);

/* @const_object_info_begin
module mdns (scope: global) {
Expand Down
3 changes: 3 additions & 0 deletions tasmota/tasmota_support/support_wifi.ino
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ const uint8_t WIFI_RETRY_OFFSET_SEC = WIFI_RETRY_SECONDS; // seconds

#include <ESP8266WiFi.h> // Wifi, MQTT, Ota, WifiManager
#include "lwip/dns.h"
#if ESP_IDF_VERSION_MAJOR >= 5
#include "esp_netif.h"
#endif

int WifiGetRssiAsQuality(int rssi) {
int quality = 0;
Expand Down