mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-27 05:06:44 +00:00
Fix FPSTR redefines
This commit is contained in:
parent
11f695aff7
commit
080b41e036
@ -4,6 +4,10 @@
|
|||||||
#ifndef HASP_CONF_H
|
#ifndef HASP_CONF_H
|
||||||
#define HASP_CONF_H
|
#define HASP_CONF_H
|
||||||
|
|
||||||
|
#if HASP_TARGET_ARDUINO
|
||||||
|
#include "Arduino.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef USE_CONFIG_OVERRIDE
|
#ifdef USE_CONFIG_OVERRIDE
|
||||||
#include "user_config_override.h"
|
#include "user_config_override.h"
|
||||||
#endif
|
#endif
|
||||||
@ -207,11 +211,11 @@
|
|||||||
#define IRAM_ATTR
|
#define IRAM_ATTR
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef FPSTR
|
#if !defined(FPSTR)
|
||||||
#define FPSTR(pstr_pointer) (reinterpret_cast<const __FlashStringHelper*>(pstr_pointer))
|
#define FPSTR(pstr_pointer) (reinterpret_cast<const __FlashStringHelper*>(pstr_pointer))
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef PGM_P
|
#if !defined(PGM_P)
|
||||||
#define PGM_P const char*
|
#define PGM_P const char*
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user