Jelajahi Sumber

Update esp32.h

Removes Arduino IDE warnings regarding about implicit declaration of function 'delay'.
Justin Decker 4 tahun lalu
induk
melakukan
55ffd4c9b0
1 mengubah file dengan 4 tambahan dan 0 penghapusan
  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)
 {