mirror of
https://github.com/esphome/esphome.git
synced 2025-09-10 23:32:23 +01:00
Add macros header with more usable Arduino version defines (#2145)
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
#include "esp8266_pwm.h"
|
||||
#include "esphome/core/macros.h"
|
||||
#include "esphome/core/log.h"
|
||||
#include "esphome/core/helpers.h"
|
||||
|
||||
#ifdef ARDUINO_ESP8266_RELEASE_2_3_0
|
||||
#error ESP8266 PWM requires at least arduino_core_version 2.4.0
|
||||
#if defined(ARDUINO_ARCH_ESP8266) && ARDUINO_VERSION_CODE < VERSION_CODE(2, 4, 0)
|
||||
#error ESP8266 PWM requires at least arduino_version 2.4.0
|
||||
#endif
|
||||
|
||||
#include <core_esp8266_waveform.h>
|
||||
|
Reference in New Issue
Block a user