Allow using PROGMEM outside of Arduino (fixes #1903)

Ported from 40daf56b5a
This commit is contained in:
Benoit Blanchon committed 2023-04-21 19:08:53 +02:00
1 parent dd46813dc0
commit 461cdaa818
12 files changed
+22 -19

No files matched your search

+2
View File
@@ -7,5 +7,7 @@
#include "api/Print.h"
#include "api/Stream.h"
#include "api/String.h"
#include "avr/pgmspace.h"
#define ARDUINO
#define ARDUINO_H_INCLUDED 1
@@ -2,6 +2,8 @@
// Copyright © 2014-2023, Benoit BLANCHON
// MIT License
#pragma once
#include <stdint.h> // uint8_t
#define PROGMEM