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:
@@ -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
|
||||
};
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user