Max Prokhorov

Results 502 comments of Max Prokhorov

3rd option would be to allow a small scratch buffer, storing the message and simply skipping the onMessage callback until it is complete? In case where the total length is...

+1 to 'gdb'. Here it is useful as an interactive 'objdump', 'nm', 'readelf', etc. all in the same box. And on case-by-case basis (...preferably, not to go cross-eyed...). Compiler sees...

Just FYI, this can be aliased back. Not sure why Core PR removed old symbols. For ESPurna specifically, .ld files (code/*.ld, per flash size) used by platformio need these: ```...

looks like e4b068ec7d7173b457c5e616814069a3a55cde8b serial port is never initialized, `begin(Baudrate);` should happen somewhere ```diff diff --git a/code/espurna/sensor.cpp b/code/espurna/sensor.cpp index 43a7b621..86a6f9e3 100644 --- a/code/espurna/sensor.cpp +++ b/code/espurna/sensor.cpp @@ -2385,7 +2385,10 @@ void load()...

See the commit, above is invalid b/c `port` no longer points to anything at that point in the code :oops:

Could it be separate from relays? I assume the idea is to add a 3rd mode to the existing alexa code, in addition to simple relays and lights. Although, relay...

By default, button 'provider' is GPIO, so it needs some kind of physical input. We have a set of states that button produces - it is either a switch, or...

Also see https://github.com/xoseperez/espurna/issues/1263, https://github.com/xoseperez/espurna/issues/943 and https://github.com/xoseperez/espurna/issues/412 Specific to this issue, idk if code actually does the correct thing. Given: ```cpp double latitude { 55.752546226498275 }; double longitude { 37.61737956002365 };...

``` c:/users/maxim/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.2.0/../../../../xtensa-lx106-elf/bin/ld.exe: c:/users/maxim/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.2.0/../../../../xtensa-lx106-elf/lib\libm.a(lib_a-w_remainder.o):(.literal+0x0): undefined reference to `__ieee754_remainder' c:/users/maxim/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.2.0/../../../../xtensa-lx106-elf/bin/ld.exe: c:/users/maxim/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.2.0/../../../../xtensa-lx106-elf/lib\libm.a(lib_a-w_remainder.o): in function `remainder': /workdir/repo/newlib/newlib/libm/math/w_remainder.c:60: undefined reference to `__ieee754_remainder' ``` It does work with current (2.7.4) gcc-4.8.2 toolchain, `std::remainder(a, b)` does not...

On topic, it matches the real (Google, same lat / long as above) values with -1 minute diff ``` sunrise now: 1611793083 rise: 2021-01-28 08:30:20 // including TZ for the...