[ion] millis() and micros() returns uint32_t and are defined in their own header

This commit is contained in:
Damien Nicolet
2018-11-07 00:23:28 +01:00
parent 79bfc7f112
commit c0c0905b84
7 changed files with 27 additions and 11 deletions

View File

@@ -30,8 +30,7 @@
#include "py/smallint.h"
#include "py/runtime.h"
long millis();
long micros();
#include "ion/timing.h"
void delay_ms(mp_uint_t delay) {
uint32_t start = millis();