Rearrange headers and add SPI.h in esp8266.ino

as seems necessary with latest staging module
remove yield in main loop as seems
This commit is contained in:
luc 2015-08-13 11:35:08 +08:00
parent 7e3e6b43a2
commit 82cadd9ed8

View File

@ -27,7 +27,7 @@
#ifndef ARDUINO_ESP8266_ESP01
#error Oops! Make sure you have 'ESP8266' selected from the 'Tools -> Boards' menu.
#endif
//includes: why EEPROM.h need to be there ???
#include <SPI.h>
#include <EEPROM.h>
#include "config.h"
#include "wifi.h"