Fix #1148 (RP2040 pgmspace.h warnings)

This commit is contained in:
Bodmer committed 2021-04-21 22:48:21 +01:00
1 parent f33674c1a2
commit 715b4de525
39 files changed
+43 -89

No files matched your search

@@ -1,7 +1,6 @@
#define SCLERA_WIDTH 200
#define SCLERA_HEIGHT 200
#include <pgmspace.h>
const uint16_t sclera[SCLERA_HEIGHT * SCLERA_WIDTH] PROGMEM= {
0X6901, 0X6901, 0X6901, 0X6901, 0X6901, 0X6901, 0X6901, 0X6901,
@@ -1,7 +1,6 @@
#define SCLERA_WIDTH 160
#define SCLERA_HEIGHT 160
#include <pgmspace.h>
const uint16_t sclera[SCLERA_HEIGHT*SCLERA_WIDTH] PROGMEM= {
0X0000, 0X0000, 0X0000, 0X0000, 0X0000, 0X0000, 0X0000, 0X0000,
@@ -1,7 +1,6 @@
#define SCLERA_WIDTH 128
#define SCLERA_HEIGHT 128
#include <pgmspace.h>
const uint16_t sclera[SCLERA_HEIGHT * SCLERA_WIDTH] PROGMEM= {
0X0000, 0X0000, 0X0000, 0X0000, 0X0000, 0X0000, 0X0000, 0X0000,
@@ -1,7 +1,6 @@
#define SCLERA_WIDTH 160
#define SCLERA_HEIGHT 160
#include <pgmspace.h>
const uint16_t sclera[SCLERA_HEIGHT * SCLERA_WIDTH] PROGMEM= {
0X0000, 0X0000, 0X0000, 0X0000, 0X0000, 0X0000, 0X0000, 0X0000,
@@ -1,5 +1,4 @@
// We need this header file to use FLASH as storage with PROGMEM directive:
#include <pgmspace.h>
// Icon width and height
const uint16_t alertWidth = 32;
@@ -1,5 +1,4 @@
// We need this header file to use FLASH as storage with PROGMEM directive:
#include <pgmspace.h>
// Icon width and height
const uint16_t closeWidth = 32;
-1
View File
@@ -1,5 +1,4 @@
// We need this header file to use FLASH as storage with PROGMEM directive:
#include <pgmspace.h>
// Icon width and height
const uint16_t infoWidth = 32;
-2
View File
@@ -11,8 +11,6 @@
// Example of the correct format is shown below
#include <pgmspace.h> // PROGMEM support header
// Espressif logo 50 x 50 pixel array in XBM format
#define logoWidth 50 // logo width
#define logoHeight 50 // logo height