kopia lustrzana https://github.com/micropython/micropython-lib
asyncio_micro: Move handle() method to SysCall base class.
rodzic
6115b451ea
commit
06c8c6ce8f
|
@ -150,10 +150,11 @@ class SysCall:
|
|||
self.call = call
|
||||
self.args = args
|
||||
|
||||
class Sleep(SysCall):
|
||||
|
||||
def handle(self):
|
||||
time.sleep(self.args[0])
|
||||
raise NotImplementedError
|
||||
|
||||
class Sleep(SysCall):
|
||||
pass
|
||||
|
||||
class IORead(SysCall):
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue