There was an error while loading. Please reload this page.
1 parent 56cd8f6 commit 6d097cdCopy full SHA for 6d097cd
cores/esp32/esp32-hal.h
@@ -33,6 +33,11 @@ extern "C" {
33
#include <string.h>
34
#include <math.h>
35
36
+//forward declaration from freertos/portmacro.h
37
+void vPortYield( void );
38
+#define yield() vPortYield()
39
+#define optimistic_yield(u)
40
+
41
#define ESP_REG(addr) *((volatile uint32_t *)(addr))
42
#define NOP() asm volatile ("nop")
43
0 commit comments