mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-18 21:30:38 +01:00
[python] Turtle: add TODO
This commit is contained in:
committed by
LeaNumworks
parent
59b6dbd74e
commit
0db66f1784
@@ -335,6 +335,8 @@ bool Turtle::draw(bool force) {
|
||||
m_drawn = true;
|
||||
}
|
||||
|
||||
/* TODO: Maybe this threshold should be in time (mileage/speed) instead of
|
||||
* mileage to interrupt with the same frequency whatever the speed is. */
|
||||
if (m_mileage > k_mileageLimit) {
|
||||
if (micropython_port_interruptible_msleep(1 + (m_speed == 0 ? 0 : 3 * (k_maxSpeed - m_speed)))) {
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user