Skip to content

Commit f8ffd35

Browse files
author
dave
committed
define delayMicroseconds for mbed
1 parent f8001bc commit f8ffd35

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/TaskManagerIO.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ void yield();
3737
uint32_t millis();
3838
/** MBED ONLY: This defines the micros function to use the standard mbed us timer, as per framework on Arduino */
3939
uint32_t micros();
40+
#define delayMicroseconds(x) wait_us(x)
4041
#endif // IOA_USE_MBED
4142

4243
/**

0 commit comments

Comments
 (0)