From ec64ef2cc4a5cc786d22e8740323a8a5b3e11434 Mon Sep 17 00:00:00 2001 From: volca Date: Thu, 27 Oct 2016 20:14:51 +0800 Subject: [PATCH] Add from original Arduino.h --- cores/esp32/Arduino.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/cores/esp32/Arduino.h b/cores/esp32/Arduino.h index 4489fbdb09d..5375d695bf4 100644 --- a/cores/esp32/Arduino.h +++ b/cores/esp32/Arduino.h @@ -145,6 +145,12 @@ typedef unsigned int word; #define _min(a,b) ((a)<(b)?(a):(b)) #define _max(a,b) ((a)>(b)?(a):(b)) +// WMath prototypes +long random(long); +long random(long, long); +void randomSeed(unsigned long); +long map(long, long, long, long, long); + #include "pins_arduino.h" #endif /* _ESP32_CORE_ARDUINO_H_ */