Use better ESP8266 check to compile on all ESP8266

as now I can test on NodeMCU 1.0 also
This commit is contained in:
luc 2015-10-02 12:25:43 +08:00
parent beca36448f
commit 61ee21a423

View File

@ -24,8 +24,8 @@
*/
//be sure correct IDE and settings are used for ESP8266
#ifndef ARDUINO_ESP8266_ESP01
#error Oops! Make sure you have 'ESP8266' selected from the 'Tools -> Boards' menu.
#ifndef ARDUINO_ARCH_ESP8266
#error Oops! Make sure you have 'ESP8266' compatible board selected from the 'Tools -> Boards' menu.
#endif
#include <SPI.h>
#include <EEPROM.h>