Skip to content

Commit d5799ab

Browse files
committed
pgmspace.h from ArduinoCore-API is already included with #include api/ArduinoAPI.h
1 parent 19fa1b7 commit d5799ab

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

Diff for: bootloaders/boot.c

-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@
3636
*/
3737
#define F_CPU_RESET (16E6/6)
3838

39-
#include "api/deprecated-avr-comp/avr/pgmspace.h"
4039
#include <avr/io.h>
4140
#include <assert.h>
4241
#include <stdbool.h>

Diff for: cores/arduino/Arduino.h

+2-6
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,10 @@
2020
#ifndef Arduino_h
2121
#define Arduino_h
2222

23-
#include "api/deprecated-avr-comp/avr/pgmspace.h"
24-
#include <avr/io.h>
25-
#include <avr/interrupt.h>
26-
2723
#include "api/ArduinoAPI.h"
2824

29-
#undef F
30-
#define F(str) (const __FlashStringHelper*)(str)
25+
#include <avr/io.h>
26+
#include <avr/interrupt.h>
3127

3228
#ifdef __cplusplus
3329
extern "C"{

0 commit comments

Comments
 (0)