esp8266/modules/ntptime.py: Remove print of newly-set time.

It should be up to the user if they want to print the new time out or not.

Fixes issue #3766.
This commit is contained in:
Damien George 2018-06-05 14:30:35 +10:00
parent a90124a9e2
commit aace60a75e

View File

@ -33,4 +33,3 @@ def settime():
tm = utime.localtime(t) tm = utime.localtime(t)
tm = tm[0:3] + (0,) + tm[3:6] + (0,) tm = tm[0:3] + (0,) + tm[3:6] + (0,)
machine.RTC().datetime(tm) machine.RTC().datetime(tm)
print(utime.localtime())