Доработка. Время отправки
This commit is contained in:
@@ -28,5 +28,6 @@ class SPT25 extends unit.Unit:
|
|||||||
func process(delta: float):
|
func process(delta: float):
|
||||||
tick += delta
|
tick += delta
|
||||||
if (tick - tx_tick) > req_period:
|
if (tick - tx_tick) > req_period:
|
||||||
|
tx_tick = tick
|
||||||
return Error.OK
|
return Error.OK
|
||||||
return Error.ERR_BUSY
|
return Error.ERR_BUSY
|
||||||
|
|||||||
Reference in New Issue
Block a user