|
33 | 33 | #include "freertos/FreeRTOS.h"
|
34 | 34 | #include "freertos/task.h"
|
35 | 35 | #include "freertos/semphr.h"
|
36 | | -#include "esp32-hal.h" |
37 | 36 | #include "esp8266-compat.h"
|
38 | 37 | #include "soc/gpio_reg.h"
|
39 | 38 |
|
40 | 39 | #include "stdlib_noniso.h"
|
41 | 40 | #include "binary.h"
|
42 | 41 | #include "extra_attr.h"
|
43 | 42 |
|
| 43 | +#include "pins_arduino.h" |
| 44 | +#include "io_pin_remap.h" |
| 45 | +#include "esp32-hal.h" |
| 46 | + |
44 | 47 | #define PI 3.1415926535897932384626433832795
|
45 | 48 | #define HALF_PI 1.5707963267948966192313216916398
|
46 | 49 | #define TWO_PI 6.283185307179586476925286766559
|
@@ -248,8 +251,4 @@ void tone(uint8_t _pin, unsigned int frequency, unsigned long duration = 0);
|
248 | 251 | void noTone(uint8_t _pin);
|
249 | 252 |
|
250 | 253 | #endif /* __cplusplus */
|
251 | | - |
252 | | -#include "pins_arduino.h" |
253 | | -#include "io_pin_remap.h" |
254 | | - |
255 | 254 | #endif /* _ESP32_CORE_ARDUINO_H_ */
|
0 commit comments