[midea] Bump MideaUART so its ESP-IDF shims stop shadowing millis() (#18119)

This commit is contained in:
Jonathan Swoboda
2026-08-06 21:46:28 -04:00
committed by GitHub
parent 97558ce64a
commit 96f0ea10f4
4 changed files with 16 additions and 2 deletions
@@ -18,6 +18,13 @@
namespace esphome::midea { namespace esphome::midea {
// Mirrors the ARDUINO switch in MideaUART Helpers/Platform.h: these types
// exist in the dudanov namespace exactly when the library is not on Arduino
#ifndef ARDUINO
using dudanov::Stream;
using dudanov::String;
#endif
/* Stream from UART component */ /* Stream from UART component */
class UARTStream : public Stream { class UARTStream : public Stream {
public: public:
+1 -1
View File
@@ -313,5 +313,5 @@ async def to_code(config):
cg.add_library( cg.add_library(
name="MideaUART", name="MideaUART",
version=None, version=None,
repository="https://github.com/dudanov/MideaUART.git#7a4d1e9a4b6f07a3464c2453ee828c0c7b7e1bcf", repository="https://github.com/dudanov/MideaUART.git#eeea6c3e9b4474f067054592b435be1c4e466815",
) )
+1 -1
View File
@@ -44,7 +44,7 @@ lib_deps_base =
lib_deps = lib_deps =
${common.lib_deps_base} ${common.lib_deps_base}
https://github.com/dudanov/MideaUART.git#7a4d1e9a4b6f07a3464c2453ee828c0c7b7e1bcf ; midea https://github.com/dudanov/MideaUART.git#eeea6c3e9b4474f067054592b435be1c4e466815 ; midea
esphome/noise-c@0.1.11 ; api esphome/noise-c@0.1.11 ; api
improv/Improv@1.2.6 ; improv_serial / esp32_improv improv/Improv@1.2.6 ; improv_serial / esp32_improv
kikuchan98/pngle@1.1.0 ; online_image kikuchan98/pngle@1.1.0 ; online_image
@@ -6,3 +6,10 @@ packages:
wifi: wifi:
ssid: MySSID ssid: MySSID
password: password1 password: password1
# Regression test for https://github.com/esphome/esphome/issues/18054: the
# MideaUART ESP-IDF shims must not make unqualified millis() ambiguous
interval:
- interval: 10s
then:
- lambda: ESP_LOGD("test", "%u", millis());