diff options
author | ukw | 2014-09-17 09:46:24 +0000 |
---|---|---|
committer | ukw | 2014-09-17 09:46:24 +0000 |
commit | f07dac6bedf59a1b5358827813252e1e011b73aa (patch) | |
tree | 2de181608931a9537f980ac171581048488ff3bc /main.c | |
parent | 8aaafe9d1b78f92e33e2791a8aa5e0aa877975b9 (diff) | |
download | irmp-f07dac6bedf59a1b5358827813252e1e011b73aa.zip |
Version 2.6.5: corrected PROGMEM access to irmp_protocol_names[]
git-svn-id: svn://mikrocontroller.net/irmp@147 aeb2e35e-bfc4-4214-b83c-9e8de998ed28
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -3,7 +3,7 @@ *
* Copyright (c) 2009-2014 Frank Meyer - frank(at)fli4l.de
*
- * $Id: main.c,v 1.20 2014/09/15 10:27:38 fm Exp $
+ * $Id: main.c,v 1.21 2014/09/17 09:44:47 fm Exp $
*
* This demo module is runnable on AVRs and LM4F120 Launchpad (ARM Cortex M4)
*
@@ -207,7 +207,7 @@ main (void) #if IRMP_PROTOCOL_NAMES == 1
uart_puts_P (PSTR(" "));
- uart_puts_P (irmp_protocol_names[irmp_data.protocol]);
+ uart_puts_P (pgm_read_word (&(irmp_protocol_names[irmp_data.protocol])));
#endif
uart_puts_P (PSTR(" address: 0x"));
|