mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-26 20:56:37 +00:00
Xplatform changes
This commit is contained in:
parent
63ccab10fa
commit
367458469b
@ -222,36 +222,34 @@ static WiFiSpiClass WiFi;
|
|||||||
#include "svc/hasp_slave.h"
|
#include "svc/hasp_slave.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef FPSTR
|
#ifdef WINDOWS
|
||||||
#define FPSTR(pstr_pointer) (reinterpret_cast<const __FlashStringHelper *>(pstr_pointer))
|
#ifndef FPSTR
|
||||||
#endif
|
#define FPSTR(pstr_pointer) (reinterpret_cast<const __FlashStringHelper *>(pstr_pointer))
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef PGM_P
|
#ifndef __FlashStringHelper
|
||||||
#define PGM_P const char *
|
#define __FlashStringHelper char
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef __FlashStringHelper
|
#ifndef FPSTR
|
||||||
#define __FlashStringHelper char
|
#define FPSTR(pstr_pointer) (reinterpret_cast<const __FlashStringHelper *>(pstr_pointer))
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef FPSTR
|
#ifndef PGM_P
|
||||||
#define FPSTR(pstr_pointer) (reinterpret_cast<const __FlashStringHelper *>(pstr_pointer))
|
#define PGM_P const char *
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef PGM_P
|
#ifndef F
|
||||||
#define PGM_P const char *
|
#define F(x) (x)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef F
|
#ifndef PSTR
|
||||||
#define F(x) (x)
|
#define PSTR(x) x
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef PSTR
|
#ifndef PROGMEM
|
||||||
#define PSTR(x) x
|
#define PROGMEM
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef PROGMEM
|
|
||||||
#define PROGMEM
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef WINDOWS
|
#ifdef WINDOWS
|
||||||
|
Loading…
x
Reference in New Issue
Block a user