Fix #1148 (RP2040 pgmspace.h warnings)
This commit is contained in:
1 parent
f33674c1a2
commit
715b4de525
39 files changed
+43
-89
No files matched your search
@@ -5,8 +5,7 @@
|
||||
Paste the byte array into a sketch tab and add two lines
|
||||
at the start with a unique font name:
|
||||
|
||||
#include <pgmspace.h>
|
||||
const uint8_t fontName[] PROGMEM = {
|
||||
const uint8_t fontName[] PROGMEM = {
|
||||
|
||||
At the end add:
|
||||
|
||||
@@ -17,7 +16,6 @@
|
||||
#include "NotoSansBold36.h"
|
||||
*/
|
||||
|
||||
#include <pgmspace.h>
|
||||
// Digits 0-9 and .
|
||||
const uint8_t NotoSansBold36[] PROGMEM = {
|
||||
0x00, 0x00, 0x00, 0x0B, 0x00, 0x00, 0x00, 0x0B, 0x00, 0x00, 0x00, 0x24, 0x00, 0x00, 0x00, 0x00,
|
||||
|
||||
@@ -5,8 +5,7 @@
|
||||
Paste the byte array into a sketch tab "jpeg_name" and add
|
||||
two lines at the start with a unique array name:
|
||||
|
||||
#include <pgmspace.h>
|
||||
const uint8_t jpeg_name[] PROGMEM = {
|
||||
const uint8_t jpeg_name[] PROGMEM = {
|
||||
|
||||
At the end add:
|
||||
|
||||
@@ -17,7 +16,6 @@
|
||||
#include "jpeg_name.h"
|
||||
*/
|
||||
|
||||
#include <pgmspace.h>
|
||||
const uint8_t dial[] PROGMEM = {
|
||||
0xFF, 0xD8, 0xFF, 0xE0, 0x00, 0x10, 0x4A, 0x46, 0x49, 0x46, 0x00, 0x01, 0x01, 0x01, 0x00, 0x60,
|
||||
0x00, 0x60, 0x00, 0x00, 0xFF, 0xE1, 0x00, 0x5A, 0x45, 0x78, 0x69, 0x66, 0x00, 0x00, 0x4D, 0x4D,
|
||||
|
||||
Reference in new issue
Block a user