Skip to content

Commit ff6e7d6

Browse files
author
stz1945
committed
Added Arduino-ESP32 compatibility
1 parent 21c1184 commit ff6e7d6

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Shell.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
1414
You should have received a copy of the GNU General Public License
1515
along with this program. If not, see <http://www.gnu.org/licenses/>.
16-
16+
1717
Author website: http://www.geekfactory.mx
1818
Author e-mail: ruben at geekfactory dot mx
1919
*/
@@ -29,7 +29,7 @@
2929

3030
#ifdef ARDUINO
3131
#include <Arduino.h>
32-
#ifdef ESP8266
32+
#if defined ESP8266 || defined ARDUINO_ARCH_ESP32
3333
#include <pgmspace.h>
3434
#else
3535
#include <avr/pgmspace.h>
@@ -260,7 +260,7 @@ extern "C" {
260260
* @brief Prints a null terminated string to the terminal from flash
261261
*
262262
* Displays a string on the terminal. The string should be null terminated.
263-
*
263+
*
264264
* This function is designed to be used with strings stored in flash.
265265
*
266266
* @param string The string to send to the terminal
@@ -272,7 +272,7 @@ extern "C" {
272272
*
273273
* Displays a string on the terminal and moves the cursor to the next line. The
274274
* string should be null terminated.
275-
*
275+
*
276276
* This function is designed to be used with strings stored in flash.
277277
*
278278
* @param string The string to send to the terminal
@@ -286,7 +286,7 @@ extern "C" {
286286
* specifiers (subsequences beginning with '%'), the additional arguments
287287
* following format are formatted and inserted in the resulting string
288288
* replacing their respective specifiers.
289-
*
289+
*
290290
* This function is designed to be used with strings stored in flash.
291291
*
292292
* This function implements it�s own mechanism for text formatting. It doesn�t

0 commit comments

Comments
 (0)