[python] Small cleanup

This commit is contained in:
Romain Goyet
2018-11-15 15:12:17 +01:00
parent dbc866d289
commit 8fa1558fc4
2 changed files with 1 additions and 2 deletions

View File

@@ -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);