1
0
mirror of https://github.com/taigrr/arduinolibs synced 2025-01-18 04:33:12 -08:00

Update usage of PROGMEM to Arduino 1.0.1

This commit is contained in:
Rhys Weatherley
2013-09-29 09:15:24 +10:00
parent 6a5ec04068
commit 393eb6c2ba
14 changed files with 50 additions and 41 deletions

View File

@@ -319,7 +319,7 @@ void LCD::disableScreenSaver()
*/
// Button mapping table generated by genlookup.c
static prog_uint8_t const buttonMappings[] PROGMEM = {
static unsigned char const buttonMappings[] PROGMEM = {
2, 0, 0, 0, 3, 0, 0, 0, 0, 4, 4, 0, 0, 0, 0, 1,
1, 0, 0, 0, 0, 0, 5, 5, 0, 0, 0, 0, 0, 0, 0, 0
};

View File

@@ -26,7 +26,7 @@
#include "Field.h"
#include <avr/pgmspace.h>
typedef const prog_char *ListItem;
typedef PGM_P ListItem;
typedef const PROGMEM ListItem *ListItems;
class ListField : public Field {