Skip to content

Commit fae34a2

Browse files
committed
Fix compilation error when Esp.h is included first in sketch (esp8266#590)
1 parent 608f734 commit fae34a2

File tree

1 file changed

+5
-2
lines changed
  • hardware/esp8266com/esp8266/cores/esp8266

1 file changed

+5
-2
lines changed

hardware/esp8266com/esp8266/cores/esp8266/Esp.h

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
/*
1+
/*
22
Esp.h - ESP8266-specific APIs
33
Copyright (c) 2015 Ivan Grokhotkov. All rights reserved.
44
This file is part of the esp8266 core for Arduino environment.
5-
5+
66
This library is free software; you can redistribute it and/or
77
modify it under the terms of the GNU Lesser General Public
88
License as published by the Free Software Foundation; either
@@ -20,6 +20,9 @@
2020

2121
#ifndef ESP_H
2222
#define ESP_H
23+
24+
#include <Arduino.h>
25+
2326
/**
2427
* AVR macros for WDT managment
2528
*/

0 commit comments

Comments
 (0)