提交 6d097cd4 编写于 作者: M me-no-dev

Add definitions for yield() and optimistic_yield()

Fixes: https://github.com/espressif/arduino-esp32/issues/54
上级 56cd8f63
......@@ -33,6 +33,11 @@ extern "C" {
#include <string.h>
#include <math.h>
//forward declaration from freertos/portmacro.h
void vPortYield( void );
#define yield() vPortYield()
#define optimistic_yield(u)
#define ESP_REG(addr) *((volatile uint32_t *)(addr))
#define NOP() asm volatile ("nop")
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册