Skip to content

Commit

Permalink
Fix FPSTR redefines
Browse files Browse the repository at this point in the history
  • Loading branch information
fvanroie committed Feb 25, 2024
1 parent 11f695a commit 080b41e
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions include/hasp_conf.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
#ifndef HASP_CONF_H
#define HASP_CONF_H

#if HASP_TARGET_ARDUINO
#include "Arduino.h"
#endif

#ifdef USE_CONFIG_OVERRIDE
#include "user_config_override.h"
#endif
Expand Down Expand Up @@ -207,11 +211,11 @@
#define IRAM_ATTR
#endif

#ifndef FPSTR
#if !defined(FPSTR)
#define FPSTR(pstr_pointer) (reinterpret_cast<const __FlashStringHelper*>(pstr_pointer))
#endif

#ifndef PGM_P
#if !defined(PGM_P)
#define PGM_P const char*
#endif

Expand Down

0 comments on commit 080b41e

Please sign in to comment.