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

@@ -79,7 +79,7 @@ int main(int argc, char *argv[])
// Dump the button mapping table for the selected bit count.
bits = 5;
printf("static prog_uint8_t const buttonMappings[] PROGMEM = {\n");
printf("static uint8_t const buttonMappings[] PROGMEM = {\n");
for (value2 = 0; value2 < (1 << bits); ++value2) {
value = value2 << (10 - bits);
value3 = value + (1 << (10 - bits)) - 1;