From 61ee21a423fa7fa45f1713ff708a99bcec3199c3 Mon Sep 17 00:00:00 2001 From: luc Date: Fri, 2 Oct 2015 12:25:43 +0800 Subject: [PATCH] Use better ESP8266 check to compile on all ESP8266 as now I can test on NodeMCU 1.0 also --- esp8266/esp8266.ino | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/esp8266/esp8266.ino b/esp8266/esp8266.ino index acfe69e0..259453be 100644 --- a/esp8266/esp8266.ino +++ b/esp8266/esp8266.ino @@ -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 #include