mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-20 01:08:15 +01:00
[python] Small cleanup
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
|
||||
#include "ion/timing.h"
|
||||
|
||||
void delay_ms(mp_uint_t delay) {
|
||||
static void delay_ms(mp_uint_t delay) {
|
||||
uint32_t start = millis();
|
||||
while (millis() - start < delay && !micropython_port_should_interrupt()) {
|
||||
msleep(1);
|
||||
|
||||
Reference in New Issue
Block a user