Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Signed-off-by: Damien George <[email protected]>
- Loading branch information