diff --git a/include/hasp_conf.h b/include/hasp_conf.h index eb034f37..a7c08cbc 100644 --- a/include/hasp_conf.h +++ b/include/hasp_conf.h @@ -176,7 +176,7 @@ static WiFiSpiClass WiFi; #include "Ethernet.h" #warning Use W5x00 Ethernet shield #endif -#include "net/hasp_ethernet_stm32.h" +#include "sys/net/hasp_ethernet_stm32.h" #endif #endif @@ -222,15 +222,6 @@ static WiFiSpiClass WiFi; #include "sys/svc/hasp_slave.h" #endif -#ifdef WINDOWS -#ifndef FPSTR -#define FPSTR(pstr_pointer) (reinterpret_cast(pstr_pointer)) -#endif - -#ifndef __FlashStringHelper -#define __FlashStringHelper char -#endif - #ifndef FPSTR #define FPSTR(pstr_pointer) (reinterpret_cast(pstr_pointer)) #endif @@ -239,6 +230,11 @@ static WiFiSpiClass WiFi; #define PGM_P const char* #endif +#if defined(WINDOWS) +#ifndef __FlashStringHelper +#define __FlashStringHelper char +#endif + #ifndef F #define F(x) (x) #endif