diff options
author | rufusclark <50201718+rufusclark@users.noreply.github.com> | 2024-08-06 00:32:35 +0100 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2025-02-12 12:53:46 +1100 |
commit | 1a67d720c786fd85c848ffba4b792048d262095f (patch) | |
tree | 71c40d1c6d19ee14a0c1bc8055b6912ba742f3a6 /docs/esp8266/tutorial/filesystem.rst | |
parent | 30acb16ad34babf25d126a7b471616421167cb35 (diff) | |
download | micropython-1a67d720c786fd85c848ffba4b792048d262095f.tar.gz micropython-1a67d720c786fd85c848ffba4b792048d262095f.zip |
tools/pyboard.py: Make get_time use machine.RTC instead of pyb.RTC.
The current code evaluates `pyb.RTC().datetime()` resulting in a remote
side exception, as `pyb` is not defined on most ports (only stm32).
The code should evaluate `machine.RTC().datetime()` and hence return the
current time.
Signed-off-by: rufusclark <50201718+rufusclark@users.noreply.github.com>
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'docs/esp8266/tutorial/filesystem.rst')
0 files changed, 0 insertions, 0 deletions