From 7ddcdc2bd31cbe963e42419344ea18c2952ae76e Mon Sep 17 00:00:00 2001 From: Links Date: Sat, 12 May 2018 12:40:56 +0200 Subject: [PATCH] add info for AVR usage with version 2.x.x --- src/WebSockets.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/WebSockets.h b/src/WebSockets.h index 989d9b9..4063b5f 100644 --- a/src/WebSockets.h +++ b/src/WebSockets.h @@ -33,7 +33,13 @@ #include #endif +#ifdef ARDUINO_ARCH_AVR +#error Version 2.x.x currently does not support Arduino with AVR since there is no support for std namespace of c++. +#error Use Version 1.x.x. (ATmega branch) +#else #include +#endif + #ifndef NODEBUG_WEBSOCKETS #ifdef DEBUG_ESP_PORT