Просмотр исходного кода

Update esp32.h

Removes Arduino IDE warnings regarding about implicit declaration of function 'delay'.
Justin Decker 4 лет назад
Родитель
Сommit
55ffd4c9b0
1 измененных файлов с 4 добавлено и 0 удалено
  1. 4 0
      impl/random/esp32.h

+ 4 - 0
impl/random/esp32.h

@@ -4,6 +4,10 @@
 #include <esp_system.h>
 #endif
 
+#ifdef ARDUINO
+#include <Arduino.h>
+#endif
+
 static int
 hydro_random_init(void)
 {