Skip to content

Commit 45d5214

Browse files
committed
Clean up duplicate of avr/pgmspace.h
pgmspace.h is provided by ArduinoCore-API and the core's included copy was already shadowed by it. The copies were identical, except for vsnprintf_P which was moved to silabs_additional.h.
1 parent 67b9f5a commit 45d5214

2 files changed

Lines changed: 2 additions & 122 deletions

File tree

cores/gecko/avr/pgmspace.h

Lines changed: 0 additions & 122 deletions
This file was deleted.

cores/gecko/silabs_additional.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@
3232
#include "Arduino.h"
3333
#include "em_common.h"
3434

35+
#define vsnprintf_P(str, size, format, ap) vsnprintf(str, size, format, ap)
36+
3537
typedef enum {
3638
CPU_39MHZ,
3739
CPU_76MHZ,

0 commit comments

Comments
 (0)