mirror of
https://github.com/esphome/esphome.git
synced 2026-08-17 02:47:52 +08:00
[midea] Bump MideaUART so its ESP-IDF shims stop shadowing millis() (#18119)
This commit is contained in:
@@ -18,6 +18,13 @@
|
||||
|
||||
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 */
|
||||
class UARTStream : public Stream {
|
||||
public:
|
||||
|
||||
@@ -313,5 +313,5 @@ async def to_code(config):
|
||||
cg.add_library(
|
||||
name="MideaUART",
|
||||
version=None,
|
||||
repository="https://github.com/dudanov/MideaUART.git#7a4d1e9a4b6f07a3464c2453ee828c0c7b7e1bcf",
|
||||
repository="https://github.com/dudanov/MideaUART.git#eeea6c3e9b4474f067054592b435be1c4e466815",
|
||||
)
|
||||
|
||||
+1
-1
@@ -44,7 +44,7 @@ lib_deps_base =
|
||||
|
||||
lib_deps =
|
||||
${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
|
||||
improv/Improv@1.2.6 ; improv_serial / esp32_improv
|
||||
kikuchan98/pngle@1.1.0 ; online_image
|
||||
|
||||
@@ -6,3 +6,10 @@ packages:
|
||||
wifi:
|
||||
ssid: MySSID
|
||||
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());
|
||||
|
||||
Reference in New Issue
Block a user